Reformat compare + goto_if/call_if to single statements
This commit is contained in:
1 parent
c57efdba5d
commit
e66ea0cb99
293 files changed
+2990
-5978
No files matched your search
@@ -18,8 +18,7 @@ ShoalCave_LowTideStairsRoom_EventScript_ShoalSalt3::
|
||||
lockall
|
||||
goto_if_set FLAG_RECEIVED_SHOAL_SALT_3, ShoalCave_LowTideStairsRoom_EventScript_ReceivedShoalSalt
|
||||
giveitem ITEM_SHOAL_SALT
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
setmetatile 11, 11, METATILE_Cave_ShoalCave_DirtPile_Small, FALSE
|
||||
special DrawWholeMapView
|
||||
setflag FLAG_RECEIVED_SHOAL_SALT_3
|
||||
|
||||
Reference in new issue
Block a user