Use 'goto_if_eq VAR, value, Script' syntax

This commit is contained in:
GriffinR
2022-08-09 20:40:03 -04:00
parent 60fc8c5e22
commit f113da30ad
171 changed files with 1992 additions and 3453 deletions
@@ -4,8 +4,7 @@ PalletTown_PlayersHouse_2F_MapScripts::
.byte 0
PalletTown_PlayersHouse_2F_OnTransition::
compare VAR_MAP_SCENE_PALLET_TOWN_PLAYERS_HOUSE_2F, 0
call_if_eq PalletTown_PlayersHouse_2F_EventScript_SetRespawn
call_if_eq VAR_MAP_SCENE_PALLET_TOWN_PLAYERS_HOUSE_2F, 0, PalletTown_PlayersHouse_2F_EventScript_SetRespawn
end
PalletTown_PlayersHouse_2F_EventScript_SetRespawn::