diff options
Diffstat (limited to 'data/maps/UndergroundPath_NorthEntrance/scripts.inc')
-rw-r--r-- | data/maps/UndergroundPath_NorthEntrance/scripts.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/data/maps/UndergroundPath_NorthEntrance/scripts.inc b/data/maps/UndergroundPath_NorthEntrance/scripts.inc index 2a1e4ed4f..a06a23659 100644 --- a/data/maps/UndergroundPath_NorthEntrance/scripts.inc +++ b/data/maps/UndergroundPath_NorthEntrance/scripts.inc @@ -4,19 +4,19 @@ UndergroundPath_NorthEntrance_MapScripts:: @ 8160E38 UndergroundPath_NorthEntrance_EventScript_160E39:: @ 8160E39 lock faceplayer - setvar VAR_0x8008, 2 - call EventScript_1A8CAD + setvar VAR_0x8008, INGAME_TRADE_NIDORAN + call EventScript_GetInGameTradeSpeciesInfo goto_if_set FLAG_DID_MS_NIDO_TRADE, EventScript_160EAB msgbox gUnknown_81A5AD6, MSGBOX_YESNO compare VAR_RESULT, NO goto_if_eq EventScript_160E93 - call EventScript_1A8CBD - compare VAR_0x8004, 6 + call EventScript_ChooseMonForInGameTrade + compare VAR_0x8004, PARTY_SIZE goto_if_ge EventScript_160E93 - call EventScript_1A8CC9 + call EventScript_GetInGameTradeSpecies compare VAR_RESULT, VAR_0x8009 goto_if_ne EventScript_160E9D - call EventScript_1A8CD9 + call EventScript_DoInGameTrade msgbox gUnknown_81A5B4A setflag FLAG_DID_MS_NIDO_TRADE release |