Files
PokemonEmeraldComplete/data/maps/Route117South/scripts.inc
T

110 lines
2.7 KiB
ObjectPascal

Route117South_MapScripts::
.byte 0
Route117South_Text_PhilisIntro:
.string "Running electrifies my muscles!$"
Route117South_Text_PhilisDefeat:
.string "I really need to work on my cardio more.$"
Route117South_Text_PhilisPostBattle:
.string "Gotta keep charging for the next battle.$"
Route117South_EventScript_Philis::
trainerbattle_single TRAINER_PHILIS, Route117South_Text_PhilisIntro, Route117South_Text_PhilisDefeat
msgbox Route117South_Text_PhilisPostBattle, MSGBOX_AUTOCLOSE
end
Route117South_Text_MarikaIntro:
.string "Me and my girlfriend always battle\n"
.string "together.$"
Route117South_Text_MarikaDefeat:
.string "We lost?!?$"
Route117South_Text_MarikaPostBattle:
.string "Battling together really tests our bond.$"
Route117South_EventScript_Marika::
trainerbattle_single TRAINER_MARIKA, Route117South_Text_MarikaIntro, Route117South_Text_MarikaDefeat
msgbox Route117South_Text_MarikaPostBattle, MSGBOX_AUTOCLOSE
end
Route117South_Text_MartinaIntro:
.string "Nothing can stop us when were together!$"
Route117South_Text_MartinaDefeat:
.string "We lost?!?.$"
Route117South_Text_MartinaPostBattle:
.string "This wasn't a stop, just a road bump.$"
Route117South_EventScript_Martina::
trainerbattle_single TRAINER_MARTINA, Route117South_Text_MartinaIntro, Route117South_Text_MartinaDefeat
msgbox Route117South_Text_MartinaPostBattle, MSGBOX_AUTOCLOSE
end
Route117South_Text_PondMan:
.string "I used to work at the POKéMON Daycare.\p"
.string "I never did figure out where those eggs\n"
.string "were comming from...\p"
.string "I'm convienced that POKéMON are not real\n"
.string "creatures. They must be manufactured\l"
.string "in a lab somewhere.$"
Route117South_EventScript_PondMan::
msgbox Route117South_Text_PondMan, MSGBOX_NPC
end
Route117South_EventScript_Azurill::
playmoncry SPECIES_AZURILL, 0
waitmoncry
end
Route117South_EventScript_Abra::
playmoncry SPECIES_ABRA, 0
waitmoncry
fadescreen FADE_FROM_WHITE
random 7
call_if_eq VAR_RESULT, 0, Route117South_Abra0
call_if_eq VAR_RESULT, 1, Route117South_Abra1
call_if_eq VAR_RESULT, 2, Route117South_Abra2
call_if_eq VAR_RESULT, 3, Route117South_Abra3
call_if_eq VAR_RESULT, 4, Route117South_Abra4
call_if_eq VAR_RESULT, 5, Route117South_Abra5
call_if_eq VAR_RESULT, 6, Route117South_Abra5
//setobjectxy 5, 25, 12
//showobjectat 5, MAP_ROUTE117SOUTH
//addobject 5
end
Route117South_Abra0::
setobjectxy 5, 17, 11
end
Route117South_Abra1::
setobjectxy 5, 25, 12
end
Route117South_Abra2::
setobjectxy 5, 35, 15
end
Route117South_Abra3::
setobjectxy 5, 2, 8
end
Route117South_Abra4::
setobjectxy 5, 35, 4
end
Route117South_Abra5::
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_ExclamationMark
waitmovement 0
warp MAP_ROUTE117SOUTH, 40, 3
end