Difference between revisions of "01B6"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
− | {{Icon|t}} | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = FORCE_WEATHER_NOW | |
− | + | | description = Sets the [[weather]] type immediately | |
− | + | | syntax1 = 01B6: set_weather [''int''] | |
− | + | | syntax2 = set_weather [''int''] | |
− | + | | p1t = [''int''] | |
− | + | | p1d = [[Time cycle#Weather types|Weather type]] | |
− | + | }} | |
− | |||
This opcode sets the weather type immediately. Values outside the possible range of weather types up to 255 produce weird results. The value set with this opcode is saved in block 0 of the [[Savegame|save file]]. | This opcode sets the weather type immediately. Values outside the possible range of weather types up to 255 produce weird results. The value set with this opcode is saved in block 0 of the [[Savegame|save file]]. | ||
Line 14: | Line 13: | ||
== Keywords == | == Keywords == | ||
set, force, weather, now | set, force, weather, now | ||
− | |||
− |
Latest revision as of 22:54, 22 April 2017
- Description
- Sets the weather type immediately
- Syntax
- 01B6: set_weather [int]
- set_weather [int]
- Parameter
- [int]
- Weather type
This opcode sets the weather type immediately. Values outside the possible range of weather types up to 255 produce weird results. The value set with this opcode is saved in block 0 of the save file.
Keywords
set, force, weather, now