diff options
Diffstat (limited to 'data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/scripts.inc')
-rw-r--r-- | data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/scripts.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/scripts.inc b/data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/scripts.inc index 41e0bc938..aa0ad600b 100644 --- a/data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/scripts.inc +++ b/data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/scripts.inc @@ -4,19 +4,19 @@ CinnabarIsland_PokemonLab_ExperimentRoom_MapScripts:: @ 816E400 CinnabarIsland_PokemonLab_ExperimentRoom_EventScript_16E401:: @ 816E401 lock faceplayer - setvar VAR_0x8008, 8 - call EventScript_1A8CAD + setvar VAR_0x8008, INGAME_TRADE_SEEL + call EventScript_GetInGameTradeSpeciesInfo goto_if_set FLAG_DID_SEELOR_TRADE, EventScript_16E473 msgbox gUnknown_81A597B, MSGBOX_YESNO compare VAR_RESULT, NO goto_if_eq EventScript_16E45B - call EventScript_1A8CBD - compare VAR_0x8004, 6 + call EventScript_ChooseMonForInGameTrade + compare VAR_0x8004, PARTY_SIZE goto_if_ge EventScript_16E45B - call EventScript_1A8CC9 + call EventScript_GetInGameTradeSpecies compare VAR_RESULT, VAR_0x8009 goto_if_ne EventScript_16E465 - call EventScript_1A8CD9 + call EventScript_DoInGameTrade msgbox gUnknown_81A59DA setflag FLAG_DID_SEELOR_TRADE release |