2017-11-10 02:21:31 +01:00
|
|
|
Route120_MapScripts:: @ 81F53EC
|
2019-10-06 22:06:34 +02:00
|
|
|
map_script MAP_SCRIPT_ON_RESUME, Route120_MapScript1_OnResume
|
2019-04-22 22:31:51 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, Route120_OnTransition
|
2019-02-22 08:28:32 +01:00
|
|
|
map_script MAP_SCRIPT_ON_LOAD, Route120_MapScript1_1F5474
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_MapScript1_OnResume: @ 81F53FC
|
|
|
|
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, Route120_EventScript_RemoveKecleonObject
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_EventScript_RemoveKecleonObject:: @ 81F5406
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8009, 0
|
2019-10-06 22:06:34 +02:00
|
|
|
call_if_eq Route120_EventScript_RemoveBridgeKecleon
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8009, 1
|
2019-10-06 22:06:34 +02:00
|
|
|
call_if_eq Route120_EventScript_RemoveKecleon
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8009, 2
|
2019-10-06 22:06:34 +02:00
|
|
|
call_if_eq Route120_EventScript_RemoveKecleon
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8009, 3
|
2019-10-06 22:06:34 +02:00
|
|
|
call_if_eq Route120_EventScript_RemoveKecleon
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8009, 4
|
2019-10-06 22:06:34 +02:00
|
|
|
call_if_eq Route120_EventScript_RemoveKecleon
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8009, 5
|
2019-10-06 22:06:34 +02:00
|
|
|
call_if_eq Route120_EventScript_RemoveKecleon
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_EventScript_RemoveBridgeKecleon:: @ 81F5449
|
2018-08-08 10:37:12 +02:00
|
|
|
specialvar VAR_RESULT, GetBattleOutcome
|
2019-10-06 22:06:34 +02:00
|
|
|
compare VAR_RESULT, B_OUTCOME_CAUGHT
|
2019-02-23 02:21:26 +01:00
|
|
|
goto_if_ne Common_EventScript_NopReturn
|
2019-10-06 22:06:34 +02:00
|
|
|
removeobject 30 @ Invisible Bridge Kecleon
|
|
|
|
removeobject 36 @ Visible Bridge Kecleon
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_EventScript_RemoveKecleon:: @ 81F5460
|
2018-08-08 10:37:12 +02:00
|
|
|
specialvar VAR_RESULT, GetBattleOutcome
|
2019-10-06 22:06:34 +02:00
|
|
|
compare VAR_RESULT, B_OUTCOME_CAUGHT
|
2019-02-23 02:21:26 +01:00
|
|
|
goto_if_ne Common_EventScript_NopReturn
|
2017-11-10 02:21:31 +01:00
|
|
|
removeobject VAR_LAST_TALKED
|
|
|
|
return
|
|
|
|
|
|
|
|
Route120_MapScript1_1F5474: @ 81F5474
|
2019-01-02 22:12:43 +01:00
|
|
|
call_if_unset FLAG_REGI_DOORS_OPENED, Route120_EventScript_1F5490
|
|
|
|
call_if_set FLAG_RECEIVED_DEVON_SCOPE, Route120_EventScript_1F54A3
|
|
|
|
call_if_unset FLAG_RECEIVED_DEVON_SCOPE, Route120_EventScript_1F54C8
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F5490:: @ 81F5490
|
2019-06-13 00:47:51 +02:00
|
|
|
setmetatile 7, 54, METATILE_General_RockWall_RockBase, 1
|
|
|
|
setmetatile 7, 55, METATILE_General_RockWall_SandBase, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
Route120_EventScript_1F54A3:: @ 81F54A3
|
2019-06-13 00:47:51 +02:00
|
|
|
setmetatile 13, 15, METATILE_Fortree_WoodBridge_Kecleon0, 0
|
|
|
|
setmetatile 12, 16, METATILE_Fortree_WoodBridge_Kecleon1, 0
|
|
|
|
setmetatile 12, 17, METATILE_General_ReflectiveWater, 0
|
|
|
|
setmetatile 13, 17, METATILE_General_ReflectiveWater, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
Route120_EventScript_1F54C8:: @ 81F54C8
|
2019-01-20 17:11:45 +01:00
|
|
|
setobjectmovementtype 36, MOVEMENT_TYPE_FACE_RIGHT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-04-22 22:31:51 +02:00
|
|
|
Route120_OnTransition: @ 81F54CD
|
2017-11-10 02:21:31 +01:00
|
|
|
call Route120_EventScript_28CCC7
|
|
|
|
call Route120_EventScript_1F54D8
|
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F54D8:: @ 81F54D8
|
2018-05-19 18:02:43 +02:00
|
|
|
getplayerxy VAR_TEMP_0, VAR_TEMP_1
|
|
|
|
compare VAR_TEMP_1, 14
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_le Route120_EventScript_1F5503
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 60
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_le Route120_EventScript_1F5507
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 61
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_ge Route120_EventScript_1F54FF
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
Route120_EventScript_1F54FF:: @ 81F54FF
|
2018-12-24 22:23:58 +01:00
|
|
|
setweather WEATHER_CLOUDS
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
Route120_EventScript_1F5503:: @ 81F5503
|
2018-12-24 22:23:58 +01:00
|
|
|
setweather WEATHER_SUNNY
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
Route120_EventScript_1F5507:: @ 81F5507
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_0, 7
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_le Route120_EventScript_1F5523
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_0, 19
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_le Route120_EventScript_1F5503
|
2017-11-10 02:21:31 +01:00
|
|
|
goto Route120_EventScript_1F5523
|
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F5523:: @ 81F5523
|
2018-12-24 22:23:58 +01:00
|
|
|
setweather WEATHER_RAIN_LIGHT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
Route120_EventScript_1F5527:: @ 81F5527
|
|
|
|
lock
|
|
|
|
faceplayer
|
2019-02-12 07:40:34 +01:00
|
|
|
dotimebasedevents
|
2019-01-03 02:54:55 +01:00
|
|
|
goto_if_set FLAG_DAILY_ROUTE_120_RECEIVED_BERRY, Route120_EventScript_1F5625
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_2A70C7, MSGBOX_YESNO
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq Route120_EventScript_1F562F
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq Route120_EventScript_1F5638
|
2017-12-28 09:09:11 +01:00
|
|
|
specialvar VAR_RESULT, GetPlayerTrainerIdOnesDigit
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
|
|
|
case 0, Route120_EventScript_1F55CA
|
|
|
|
case 5, Route120_EventScript_1F55CA
|
|
|
|
case 1, Route120_EventScript_1F55D5
|
|
|
|
case 6, Route120_EventScript_1F55D5
|
|
|
|
case 2, Route120_EventScript_1F55E0
|
|
|
|
case 7, Route120_EventScript_1F55E0
|
|
|
|
case 3, Route120_EventScript_1F55EB
|
|
|
|
case 8, Route120_EventScript_1F55EB
|
|
|
|
case 4, Route120_EventScript_1F55F6
|
|
|
|
case 9, Route120_EventScript_1F55F6
|
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F55CA:: @ 81F55CA
|
2019-09-16 05:47:07 +02:00
|
|
|
setvar VAR_0x8004, ITEM_FIGY_BERRY
|
2017-11-10 02:21:31 +01:00
|
|
|
goto Route120_EventScript_1F5601
|
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F55D5:: @ 81F55D5
|
2019-09-16 05:47:07 +02:00
|
|
|
setvar VAR_0x8004, ITEM_WIKI_BERRY
|
2017-11-10 02:21:31 +01:00
|
|
|
goto Route120_EventScript_1F5601
|
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F55E0:: @ 81F55E0
|
2019-09-16 05:47:07 +02:00
|
|
|
setvar VAR_0x8004, ITEM_MAGO_BERRY
|
2017-11-10 02:21:31 +01:00
|
|
|
goto Route120_EventScript_1F5601
|
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F55EB:: @ 81F55EB
|
2019-09-16 05:47:07 +02:00
|
|
|
setvar VAR_0x8004, ITEM_AGUAV_BERRY
|
2017-11-10 02:21:31 +01:00
|
|
|
goto Route120_EventScript_1F5601
|
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F55F6:: @ 81F55F6
|
2019-09-16 05:47:07 +02:00
|
|
|
setvar VAR_0x8004, ITEM_IAPAPA_BERRY
|
2017-11-10 02:21:31 +01:00
|
|
|
goto Route120_EventScript_1F5601
|
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F5601:: @ 81F5601
|
|
|
|
giveitem_std VAR_0x8004
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2019-02-23 01:52:11 +01:00
|
|
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
2019-01-03 02:54:55 +01:00
|
|
|
setflag FLAG_DAILY_ROUTE_120_RECEIVED_BERRY
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_2A71D5, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F5625:: @ 81F5625
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_2A7217, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F562F:: @ 81F562F
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_2A7147, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
Route120_EventScript_1F5638:: @ 81F5638
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_2A7183, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_EventScript_Steven:: @ 81F5641
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-01-02 22:12:43 +01:00
|
|
|
goto_if_set FLAG_NOT_READY_FOR_BATTLE_ROUTE_120, Route120_EventScript_1F5672
|
2019-10-06 22:06:34 +02:00
|
|
|
msgbox Route120_Text_StevenGreeting, MSGBOX_YESNO
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2019-10-06 22:06:34 +02:00
|
|
|
goto_if_eq Route120_EventScript_StevenNotReady
|
|
|
|
goto Route120_EventScript_StevenBattleKecleon
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_EventScript_StevenNotReady:: @ 81F5665
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_1F5AAC, MSGBOX_DEFAULT
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_NOT_READY_FOR_BATTLE_ROUTE_120
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F5672:: @ 81F5672
|
2019-10-06 22:06:34 +02:00
|
|
|
msgbox Route120_Text_StevenReadyForBattle, MSGBOX_YESNO
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2019-10-06 22:06:34 +02:00
|
|
|
goto_if_eq Route120_EventScript_StevenNotReady
|
|
|
|
goto Route120_EventScript_StevenBattleKecleon
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_EventScript_StevenBattleKecleon:: @ 81F568B
|
|
|
|
msgbox Route120_Text_StevenShowMeYourPower, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-10-06 22:06:34 +02:00
|
|
|
compare VAR_FACING, DIR_NORTH
|
|
|
|
call_if_eq Route120_EventScript_PlayerApproachKecleonNorth
|
|
|
|
compare VAR_FACING, DIR_WEST
|
|
|
|
call_if_eq Route120_EventScript_PlayerApproachKecleonWest
|
2019-10-06 19:55:30 +02:00
|
|
|
applymovement 31, Common_Movement_WalkInPlaceFastestLeft
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
delay 20
|
2019-10-06 22:06:34 +02:00
|
|
|
msgbox Route120_Text_StevenUsedDevonScope, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-10-06 19:55:30 +02:00
|
|
|
applymovement 30, Common_Movement_WalkInPlaceFastestRight
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-10-06 22:06:34 +02:00
|
|
|
applymovement 30, Movement_KecleonAppears
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
waitse
|
|
|
|
playmoncry SPECIES_KECLEON, 2
|
|
|
|
delay 40
|
|
|
|
waitmoncry
|
|
|
|
setwildbattle SPECIES_KECLEON, 30, ITEM_NONE
|
|
|
|
setvar VAR_0x8009, 0
|
|
|
|
setflag FLAG_SYS_CTRL_OBJ_DELETE
|
|
|
|
dowildbattle
|
|
|
|
clearflag FLAG_SYS_CTRL_OBJ_DELETE
|
2018-08-08 10:37:12 +02:00
|
|
|
specialvar VAR_RESULT, GetBattleOutcome
|
2019-10-06 22:06:34 +02:00
|
|
|
compare VAR_RESULT, B_OUTCOME_WON
|
|
|
|
goto_if_eq Route120_EventScript_RemoveBridgeKecleonPostBattle
|
|
|
|
compare VAR_RESULT, B_OUTCOME_RAN
|
|
|
|
goto_if_eq Route120_EventScript_RemoveBridgeKecleonPostBattle
|
|
|
|
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
|
|
|
|
goto_if_eq Route120_EventScript_RemoveBridgeKecleonPostBattle
|
|
|
|
goto Route120_EventScript_StevenGiveDeconScope
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_EventScript_RemoveBridgeKecleonPostBattle:: @ 81F571C
|
2017-11-10 02:21:31 +01:00
|
|
|
fadescreenswapbuffers 1
|
2019-10-06 22:06:34 +02:00
|
|
|
removeobject 30 @ Invisible Bridge Kecleon
|
|
|
|
removeobject 36 @ Visible Bridge Kecleon
|
2017-11-10 02:21:31 +01:00
|
|
|
fadescreenswapbuffers 0
|
2019-10-06 22:06:34 +02:00
|
|
|
goto Route120_EventScript_StevenGiveDeconScope
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_EventScript_StevenGiveDeconScope:: @ 81F572C
|
2019-10-06 19:55:30 +02:00
|
|
|
applymovement 31, Common_Movement_WalkInPlaceFastestDown
|
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-10-06 22:06:34 +02:00
|
|
|
msgbox Route120_Text_StevenGiveDevonScope, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
giveitem_std ITEM_DEVON_SCOPE
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_RECEIVED_DEVON_SCOPE
|
2019-10-06 22:06:34 +02:00
|
|
|
msgbox Route120_Text_StevenGoodbye, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-10-06 19:55:30 +02:00
|
|
|
applymovement 31, Common_Movement_WalkInPlaceFastestDown
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
delay 50
|
|
|
|
setfieldeffectargument 0, 1
|
2019-04-05 05:26:53 +02:00
|
|
|
dofieldeffect FLDEFF_NPCFLY_OUT
|
2017-11-10 02:21:31 +01:00
|
|
|
delay 15
|
|
|
|
removeobject 31
|
2019-04-05 05:26:53 +02:00
|
|
|
waitfieldeffect FLDEFF_NPCFLY_OUT
|
2019-06-13 00:47:51 +02:00
|
|
|
setmetatile 13, 15, METATILE_Fortree_WoodBridge_Kecleon0, 0
|
|
|
|
setmetatile 12, 16, METATILE_Fortree_WoodBridge_Kecleon1, 0
|
|
|
|
setmetatile 12, 17, METATILE_General_ReflectiveWater, 0
|
|
|
|
setmetatile 13, 17, METATILE_General_ReflectiveWater, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
special DrawWholeMapView
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_EventScript_PlayerApproachKecleonNorth:: @ 81F57A3
|
2019-10-06 19:55:30 +02:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_EventScript_PlayerApproachKecleonWest:: @ 81F57AE
|
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, Route120_Movement_ApproachKecleonWest
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_Movement_ApproachKecleonWest: @ 81F57B9
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
|
|
|
walk_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_EventScript_InvisibleBridgeKecleon:: @ 81F57BC
|
|
|
|
msgbox Kecleon_Text_SomethingUnseeable, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F57C5:: @ 81F57C5
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_1F5DCB, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F57CE:: @ 81F57CE
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_1F5DE4, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F57D7:: @ 81F57D7
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_COLIN, Route120_Text_29E62D, Route120_Text_29E665
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29E67A, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F57EE:: @ 81F57EE
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_ROBERT_1, Route120_Text_29E6E3, Route120_Text_29E70A, Route120_EventScript_1F581A
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq Route120_EventScript_1F5839
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29E726, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F581A:: @ 81F581A
|
|
|
|
special sub_80B4808
|
|
|
|
waitmovement 0
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29E75D, MSGBOX_DEFAULT
|
2018-12-02 12:04:59 +01:00
|
|
|
register_matchcall TRAINER_ROBERT_1
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F5839:: @ 81F5839
|
2018-12-02 13:17:54 +01:00
|
|
|
trainerbattle_rematch TRAINER_ROBERT_1, Route120_Text_29E7AA, Route120_Text_29E7E1
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29E804, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F5850:: @ 81F5850
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_LORENZO, Route120_Text_29E843, Route120_Text_29E884
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29E8C5, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F5867:: @ 81F5867
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_JENNA, Route120_Text_29E91C, Route120_Text_29E980
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29E996, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F587E:: @ 81F587E
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_JEFFREY_1, Route120_Text_29E9D7, Route120_Text_29E9FF, Route120_EventScript_1F58AA
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq Route120_EventScript_1F58C9
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29EA08, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F58AA:: @ 81F58AA
|
|
|
|
special sub_80B4808
|
|
|
|
waitmovement 0
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29EA31, MSGBOX_DEFAULT
|
2018-12-02 12:04:59 +01:00
|
|
|
register_matchcall TRAINER_JEFFREY_1
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F58C9:: @ 81F58C9
|
2018-12-02 13:17:54 +01:00
|
|
|
trainerbattle_rematch TRAINER_JEFFREY_1, Route120_Text_29EA61, Route120_Text_29EA8F
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29EAA9, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F58E0:: @ 81F58E0
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_JENNIFER, Route120_Text_29EAEF, Route120_Text_29EB53
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29EB6E, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F58F7:: @ 81F58F7
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_CHIP, Route120_Text_29EBAF, Route120_Text_29EC25
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29EC41, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F590E:: @ 81F590E
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_CLARISSA, Route120_Text_29ECA6, Route120_Text_29ECEF
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29ED19, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F5925:: @ 81F5925
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_ANGELICA, Route120_Text_29ED71, Route120_Text_29EDD3
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29EDF7, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F593C:: @ 81F593C
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_KEIGO, Route120_Text_29EE50, Route120_Text_29EE97
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29EED4, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F5953:: @ 81F5953
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_RILEY, Route120_Text_29EF08, Route120_Text_29EF63
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29EF89, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F596A:: @ 81F596A
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_LEONEL, Route120_Text_29F04F, Route120_Text_29F080
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29F0A1, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route120_EventScript_1F5981:: @ 81F5981
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_CALLIE, Route120_Text_29EFB1, Route120_Text_29EFE1
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route120_Text_29F002, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_Text_StevenGreeting: @ 81F5998
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "STEVEN: Hm? {PLAYER}{KUN}, hi.\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "It's been a while.\p"
|
|
|
|
.string "There's something here that you can't\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "see, right?\p"
|
|
|
|
.string "Now, if I were to use this device on\n"
|
|
|
|
.string "the invisible obstacle…\p"
|
|
|
|
.string "No, no. Rather than describing it,\n"
|
|
|
|
.string "I should just show you.\l"
|
|
|
|
.string "That would be more fun.\p"
|
|
|
|
.string "{PLAYER}{KUN}, are your POKéMON ready for\n"
|
|
|
|
.string "battle?$"
|
|
|
|
|
|
|
|
Route120_Text_1F5AAC: @ 81F5AAC
|
|
|
|
.string "STEVEN: No?\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'll wait here, so you can get ready.$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_Text_StevenReadyForBattle: @ 81F5ADE
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "STEVEN: {PLAYER}{KUN}, are your POKéMON\n"
|
|
|
|
.string "ready for battle?$"
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_Text_StevenShowMeYourPower: @ 81F5B0F
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "STEVEN: {PLAYER}{KUN}, show me your true\n"
|
|
|
|
.string "power as a TRAINER!$"
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_Text_StevenUsedDevonScope: @ 81F5B43
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "STEVEN used the DEVON SCOPE.\p"
|
|
|
|
.string "An invisible POKéMON became completely\n"
|
|
|
|
.string "visible!\p"
|
|
|
|
.string "The startled POKéMON attacked!$"
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_Text_StevenGiveDevonScope: @ 81F5BAF
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "STEVEN: I see…\n"
|
|
|
|
.string "Your battle style is intriguing.\p"
|
|
|
|
.string "Your POKéMON have obviously grown\n"
|
|
|
|
.string "since I first met you in DEWFORD.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'd like you to have this\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "DEVON SCOPE.\p"
|
|
|
|
.string "Who knows, there may be other\n"
|
|
|
|
.string "concealed POKéMON.$"
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Route120_Text_StevenGoodbye: @ 81F5C7B
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "STEVEN: {PLAYER}{KUN}.\p"
|
|
|
|
.string "I enjoy seeing POKéMON and TRAINERS\n"
|
|
|
|
.string "who strive together.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I think you're doing great.\p"
|
|
|
|
.string "Well, let's meet again somewhere.$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Kecleon_Text_SomethingUnseeable: @ 81F5D00
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "Something unseeable is in the way.$"
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Kecleon_Text_WantToUseDevonScope: @ 81F5D23
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "Something unseeable is in the way.\p"
|
|
|
|
.string "Want to use the DEVON SCOPE?$"
|
|
|
|
|
2019-10-06 22:06:34 +02:00
|
|
|
Kecleon_Text_UseDevonScopeMonAttacked: @ 81F5D63
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "{PLAYER} used the DEVON SCOPE.\p"
|
|
|
|
.string "An invisible POKéMON became completely\n"
|
|
|
|
.string "visible!\p"
|
|
|
|
.string "The startled POKéMON attacked!$"
|
|
|
|
|
|
|
|
Route120_Text_1F5DCB: @ 81F5DCB
|
|
|
|
.string "ROUTE 120\n"
|
2018-07-25 06:18:23 +02:00
|
|
|
.string "{LEFT_ARROW} FORTREE CITY$"
|
2017-11-10 08:36:41 +01:00
|
|
|
|
|
|
|
Route120_Text_1F5DE4: @ 81F5DE4
|
2018-07-25 06:18:23 +02:00
|
|
|
.string "{RIGHT_ARROW} ROUTE 121\n"
|
|
|
|
.string "{LEFT_ARROW} ROUTE 120$"
|