Difference between revisions of "01B5"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
− | {{Icon|t}} | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = FORCE_WEATHER | |
− | + | | description = Sets the upcoming [[weather]] type | |
− | + | | syntax1 = 01B5: force_weather [''int''] | |
− | + | | p1t = [''int''] | |
− | + | | p1d = [[Time cycle#Weather types|Weather type]] | |
− | + | }} | |
− | |||
This opcode sets the upcoming weather type. The current weather will transition to the weather type but the weather does not immediately change. To immediately change the weather, use opcode [[01B6]]. The value set with this opcode is saved in block 0 of the [[Savegame|save file]]. | This opcode sets the upcoming weather type. The current weather will transition to the weather type but the weather does not immediately change. To immediately change the weather, use opcode [[01B6]]. The value set with this opcode is saved in block 0 of the [[Savegame|save file]]. | ||
Line 13: | Line 12: | ||
== Keywords == | == Keywords == | ||
set, force, weather | set, force, weather | ||
− | |||
− |
Latest revision as of 22:53, 22 April 2017
- Description
- Sets the upcoming weather type
- Syntax
- 01B5: force_weather [int]
- Parameter
- [int]
- Weather type
This opcode sets the upcoming weather type. The current weather will transition to the weather type but the weather does not immediately change. To immediately change the weather, use opcode 01B6. The value set with this opcode is saved in block 0 of the save file.
Keywords
set, force, weather