Sync event macros

This commit is contained in:
GriffinR
2020-01-10 00:44:57 -05:00
parent 94fbc3ac48
commit 4a6f15ba24
220 changed files with 3209 additions and 3580 deletions
@@ -7,9 +7,9 @@ ThreeIsland_DunsparceTunnel_OnTransition:: @ 8164D2C
specialvar VAR_RESULT, IsNationalPokedexEnabled
copyvar VAR_0x8008, VAR_RESULT
compare VAR_0x8008, 1
call_if eq, EventScript_164D50
call_if_eq EventScript_164D50
compare VAR_0x8008, 0
call_if eq, EventScript_164D54
call_if_eq EventScript_164D54
end
EventScript_164D50:: @ 8164D50
@@ -24,11 +24,10 @@ EventScript_164D54:: @ 8164D54
ThreeIsland_DunsparceTunnel_EventScript_164D60:: @ 8164D60
lock
faceplayer
checkflag FLAG_GOT_NUGGET_FROM_DUNSPARCE_TUNNEL
goto_if TRUE, EventScript_164DC2
goto_if_set FLAG_GOT_NUGGET_FROM_DUNSPARCE_TUNNEL, EventScript_164DC2
specialvar VAR_RESULT, IsNationalPokedexEnabled
compare VAR_RESULT, 1
goto_if eq, EventScript_164D90
goto_if_eq EventScript_164D90
msgbox gUnknown_817D13B
closemessage
applymovement 1, Movement_FaceOriginalDirection
@@ -40,7 +39,7 @@ EventScript_164D90:: @ 8164D90
msgbox gUnknown_817D1C9
giveitem ITEM_NUGGET
compare VAR_RESULT, 0
goto_if eq, EventScript_164DB8
goto_if_eq EventScript_164DB8
setflag FLAG_GOT_NUGGET_FROM_DUNSPARCE_TUNNEL
goto EventScript_164DC2
end