improve goto_if macros

This commit is contained in:
Melody
2018-12-21 20:28:24 -05:00
parent 87fd6b8dc2
commit ac2e4adf2d
273 changed files with 2555 additions and 3036 deletions
@@ -7,8 +7,7 @@ ShoalCave_LowTideStairsRoom_MapScript1_237100: @ 8237100
end
ShoalCave_LowTideStairsRoom_EventScript_237106:: @ 8237106
checkflag FLAG_0x3BA
goto_eq ShoalCave_LowTideStairsRoom_EventScript_237119
goto_if_set FLAG_0x3BA, ShoalCave_LowTideStairsRoom_EventScript_237119
setmetatile 11, 11, 856, 1
return
@@ -17,11 +16,10 @@ ShoalCave_LowTideStairsRoom_EventScript_237119:: @ 8237119
ShoalCave_LowTideStairsRoom_EventScript_23711A:: @ 823711A
lockall
checkflag FLAG_0x3BA
goto_eq ShoalCave_LowTideStairsRoom_EventScript_23714C
goto_if_set FLAG_0x3BA, ShoalCave_LowTideStairsRoom_EventScript_23714C
giveitem_std ITEM_SHOAL_SALT
compare VAR_RESULT, 0
goto_eq ShoalCave_LowTideStairsRoom_EventScript_272054
goto_if_eq ShoalCave_LowTideStairsRoom_EventScript_272054
setmetatile 11, 11, 858, 0
special DrawWholeMapView
setflag FLAG_0x3BA