pokeemerald/data/maps/Route123/scripts.inc

214 lines
6.2 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
Route123_MapScripts:: @ 81F6147
map_script 3, Route123_MapScript1_1F614D
.byte 0
Route123_MapScript1_1F614D: @ 81F614D
special SetRoute123Weather
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F6151:: @ 81F6151
lock
faceplayer
checkflag FLAG_0x0E8
goto_eq Route123_EventScript_1F61A0
msgbox Route123_Text_1F641E, MSGBOX_DEFAULT
special IsGrassTypeInParty
compare VAR_RESULT, 0
2017-11-10 02:21:31 +01:00
goto_eq Route123_EventScript_1F619E
msgbox Route123_Text_1F645D, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
giveitem_std ITEM_TM19
compare VAR_RESULT, 0
2017-11-10 02:21:31 +01:00
goto_eq Route123_EventScript_272054
setflag FLAG_0x0E8
msgbox Route123_Text_1F64CF, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route123_EventScript_1F619E:: @ 81F619E
release
end
Route123_EventScript_1F61A0:: @ 81F61A0
msgbox Route123_Text_1F64CF, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route123_EventScript_1F61AA:: @ 81F61AA
msgbox Route123_Text_1F6511, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F61B3:: @ 81F61B3
msgbox Route123_Text_1F6529, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F61BC:: @ 81F61BC
msgbox Route123_Text_1F6557, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F61C5:: @ 81F61C5
trainerbattle 0, TRAINER_WENDY, 0, Route123_Text_29FBEB, Route123_Text_29FC23
msgbox Route123_Text_29FC42, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F61DC:: @ 81F61DC
trainerbattle 0, TRAINER_BRAXTON, 0, Route123_Text_29FC6F, Route123_Text_29FCD6
msgbox Route123_Text_29FCF4, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F61F3:: @ 81F61F3
trainerbattle 0, TRAINER_VIOLET, 0, Route123_Text_29FD1D, Route123_Text_29FD53
msgbox Route123_Text_29FD7B, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F620A:: @ 81F620A
trainerbattle 2, TRAINER_CAMERON_1, 0, Route123_Text_29FDBA, Route123_Text_29FE1E, Route123_EventScript_1F6236
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
2017-11-10 02:21:31 +01:00
goto_eq Route123_EventScript_1F6255
msgbox Route123_Text_29FE2A, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route123_EventScript_1F6236:: @ 81F6236
special sub_80B4808
waitmovement 0
msgbox Route123_Text_29FE70, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 238
2018-03-01 04:47:50 +01:00
special SetMatchCallRegisteredFlag
2017-11-10 02:21:31 +01:00
setorcopyvar VAR_0x8000, 238
callstd STD_REGISTER_MATCH_CALL
2017-11-10 02:21:31 +01:00
release
end
Route123_EventScript_1F6255:: @ 81F6255
trainerbattle 5, TRAINER_CAMERON_1, 0, Route123_Text_29FED4, Route123_Text_29FF1B
msgbox Route123_Text_29FF27, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F626C:: @ 81F626C
trainerbattle 2, TRAINER_JACKI_1, 0, Route123_Text_29FF61, Route123_Text_29FFD8, Route123_EventScript_1F6298
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
2017-11-10 02:21:31 +01:00
goto_eq Route123_EventScript_1F62B7
msgbox Route123_Text_29FFE5, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route123_EventScript_1F6298:: @ 81F6298
special sub_80B4808
waitmovement 0
msgbox Route123_Text_2A0027, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 249
2018-03-01 04:47:50 +01:00
special SetMatchCallRegisteredFlag
2017-11-10 02:21:31 +01:00
setorcopyvar VAR_0x8000, 249
callstd STD_REGISTER_MATCH_CALL
2017-11-10 02:21:31 +01:00
release
end
Route123_EventScript_1F62B7:: @ 81F62B7
trainerbattle 5, TRAINER_JACKI_1, 0, Route123_Text_2A005E, Route123_Text_2A008D
msgbox Route123_Text_2A0099, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F62CE:: @ 81F62CE
trainerbattle 4, TRAINER_MIU_AND_YUKI, 0, Route123_Text_2A00D6, Route123_Text_2A0119, Route123_Text_2A016D
msgbox Route123_Text_2A012E, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F62E9:: @ 81F62E9
trainerbattle 4, TRAINER_MIU_AND_YUKI, 0, Route123_Text_2A01A7, Route123_Text_2A01D8, Route123_Text_2A0224
msgbox Route123_Text_2A01EE, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F6304:: @ 81F6304
trainerbattle 0, TRAINER_KINDRA, 0, Route123_Text_2A025F, Route123_Text_2A02A6
msgbox Route123_Text_2A02C1, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F631B:: @ 81F631B
trainerbattle 0, TRAINER_FREDRICK, 0, Route123_Text_2A060A, Route123_Text_2A0631
msgbox Route123_Text_2A0672, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F6332:: @ 81F6332
trainerbattle 0, TRAINER_ALBERTO, 0, Route123_Text_2A06AF, Route123_Text_2A0704
msgbox Route123_Text_2A072B, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F6349:: @ 81F6349
trainerbattle 0, TRAINER_ED, 0, Route123_Text_2A079B, Route123_Text_2A07F0
msgbox Route123_Text_2A080D, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F6360:: @ 81F6360
trainerbattle 0, TRAINER_KAYLEY, 0, Route123_Text_2A0902, Route123_Text_2A0943
msgbox Route123_Text_2A096E, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F6377:: @ 81F6377
trainerbattle 0, TRAINER_JONAS, 0, Route123_Text_2A0854, Route123_Text_2A088A
msgbox Route123_Text_2A08CA, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F638E:: @ 81F638E
trainerbattle 0, TRAINER_JAZMYN, 0, Route123_Text_2A054E, Route123_Text_2A0592
msgbox Route123_Text_2A05AC, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F63A5:: @ 81F63A5
trainerbattle 0, TRAINER_DAVIS, 0, Route123_Text_2A04C0, Route123_Text_2A04FE
msgbox Route123_Text_2A0512, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_EventScript_1F63BC:: @ 81F63BC
trainerbattle 2, TRAINER_FERNANDO_1, 0, Route123_Text_2A0323, Route123_Text_2A035C, Route123_EventScript_1F63E8
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
2017-11-10 02:21:31 +01:00
goto_eq Route123_EventScript_1F6407
msgbox Route123_Text_2A0389, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route123_EventScript_1F63E8:: @ 81F63E8
special sub_80B4808
waitmovement 0
msgbox Route123_Text_2A03C1, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 195
2018-03-01 04:47:50 +01:00
special SetMatchCallRegisteredFlag
2017-11-10 02:21:31 +01:00
setorcopyvar VAR_0x8000, 195
callstd STD_REGISTER_MATCH_CALL
2017-11-10 02:21:31 +01:00
release
end
Route123_EventScript_1F6407:: @ 81F6407
trainerbattle 5, TRAINER_FERNANDO_1, 0, Route123_Text_2A03FB, Route123_Text_2A045A
msgbox Route123_Text_2A0487, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route123_Text_1F641E: @ 81F641E
.string "I love GRASS-type POKéMON!\p"
.string "Do you have any GRASS-type POKéMON?$"
Route123_Text_1F645D: @ 81F645D
.string "Oh?\p"
.string "You like GRASS-type POKéMON, too,\n"
.string "dont you?\p"
.string "Im so happy, you can have this!\n"
.string "Its a token of our friendship.$"
Route123_Text_1F64CF: @ 81F64CF
.string "I check trees with my GRASS-type\n"
.string "POKéMON. Im like a tree doctor.$"
Route123_Text_1F6511: @ 81F6511
.string "{RIGHT_ARROW} ROUTE 123\n"
.string "{LEFT_ARROW} ROUTE 118$"
2017-11-10 02:21:31 +01:00
Route123_Text_1F6529: @ 81F6529
.string "{UP_ARROW} MT. PYRE\n"
2017-11-10 02:21:31 +01:00
.string "“Forbidden to the faint of heart.”$"
Route123_Text_1F6557: @ 81F6557
.string "BERRY MASTERS HOUSE$"