Reformat compare + goto_if/call_if to single statements
This commit is contained in:
@@ -55,10 +55,8 @@ EverGrandeCity_PokemonLeague_1F_EventScript_DoorGuard::
|
||||
lockall
|
||||
goto_if_set FLAG_ENTERED_ELITE_FOUR, EverGrandeCity_PokemonLeague_1F_EventScript_GoForth
|
||||
getplayerxy VAR_TEMP_0, VAR_TEMP_1
|
||||
compare VAR_TEMP_0, 11
|
||||
call_if_ge EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromRight
|
||||
compare VAR_TEMP_0, 8
|
||||
call_if_le EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromLeft
|
||||
call_if_ge VAR_TEMP_0, 11, EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromRight
|
||||
call_if_le VAR_TEMP_0, 8, EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromLeft
|
||||
message EverGrandeCity_PokemonLeague_1F_Text_MustHaveAllGymBadges
|
||||
waitmessage
|
||||
delay 120
|
||||
|
||||
Reference in New Issue
Block a user