pokeemerald/data/maps/Route109_SeashoreHouse/scripts.inc

193 lines
5.9 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
Route109_SeashoreHouse_MapScripts:: @ 82693F4
2019-04-05 01:28:37 +02:00
map_script MAP_SCRIPT_ON_TRANSITION, Route109_SeashoreHouse_OnTransition
2017-11-10 02:21:31 +01:00
.byte 0
2019-04-05 01:28:37 +02:00
Route109_SeashoreHouse_OnTransition: @ 82693FA
2017-12-27 04:20:29 +01:00
setflag FLAG_LANDMARK_SEASHORE_HOUSE
2017-11-10 02:21:31 +01:00
end
Route109_SeashoreHouse_EventScript_2693FE:: @ 82693FE
lock
faceplayer
2019-01-02 22:12:43 +01:00
goto_if_set FLAG_RECEIVED_6_SODA_POP, Route109_SeashoreHouse_EventScript_269460
goto_if_set FLAG_DEFEATED_SEASHORE_HOUSE, Route109_SeashoreHouse_EventScript_269432
2018-12-22 02:28:24 +01:00
goto_if_set FLAG_TEMP_2, Route109_SeashoreHouse_EventScript_269428
msgbox Route109_SeashoreHouse_Text_269555, MSGBOX_DEFAULT
2018-10-17 18:25:12 +02:00
setflag FLAG_TEMP_2
2017-11-10 02:21:31 +01:00
release
end
Route109_SeashoreHouse_EventScript_269428:: @ 8269428
msgbox Route109_SeashoreHouse_Text_269635, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route109_SeashoreHouse_EventScript_269432:: @ 8269432
msgbox Route109_SeashoreHouse_Text_269685, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
giveitem_std ITEM_SODA_POP, 6
compare VAR_RESULT, 0
2018-12-22 02:28:24 +01:00
goto_if_eq Route109_SeashoreHouse_EventScript_269456
2019-01-02 22:12:43 +01:00
setflag FLAG_RECEIVED_6_SODA_POP
2017-11-10 02:21:31 +01:00
release
end
Route109_SeashoreHouse_EventScript_269456:: @ 8269456
msgbox Route109_SeashoreHouse_Text_26973A, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route109_SeashoreHouse_EventScript_269460:: @ 8269460
showmoneybox 0, 0, 0
msgbox Route109_SeashoreHouse_Text_26977E, MSGBOX_YESNO
compare VAR_RESULT, 1
2018-12-22 02:28:24 +01:00
goto_if_eq Route109_SeashoreHouse_EventScript_269484
msgbox Route109_SeashoreHouse_Text_2697EF, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
hidemoneybox
2019-08-18 05:26:46 +02:00
nop
nop
2017-11-10 02:21:31 +01:00
release
end
Route109_SeashoreHouse_EventScript_269484:: @ 8269484
checkmoney 0x12c, 0
compare VAR_RESULT, 0
2018-12-22 02:28:24 +01:00
goto_if_eq Route109_SeashoreHouse_EventScript_2694C8
2017-11-10 02:21:31 +01:00
checkitemspace ITEM_SODA_POP, 1
compare VAR_RESULT, 0
2018-12-22 02:28:24 +01:00
goto_if_eq Route109_SeashoreHouse_EventScript_2694D5
msgbox Route109_SeashoreHouse_Text_2697C8, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
takemoney 0x12c, 0
2019-08-18 05:26:46 +02:00
updatemoneybox 0, 0
2017-11-10 02:21:31 +01:00
giveitem_std ITEM_SODA_POP
hidemoneybox
2019-08-18 05:26:46 +02:00
nop
nop
2017-11-10 02:21:31 +01:00
release
end
Route109_SeashoreHouse_EventScript_2694C8:: @ 82694C8
msgbox Route109_SeashoreHouse_Text_2697D5, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
hidemoneybox
2019-08-18 05:26:46 +02:00
nop
nop
2017-11-10 02:21:31 +01:00
release
end
Route109_SeashoreHouse_EventScript_2694D5:: @ 82694D5
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
hidemoneybox
2019-08-18 05:26:46 +02:00
nop
nop
2017-11-10 02:21:31 +01:00
release
end
Route109_SeashoreHouse_EventScript_2694E2:: @ 82694E2
trainerbattle_single TRAINER_DWAYNE, Route109_SeashoreHouse_Text_269803, Route109_SeashoreHouse_Text_269867, Route109_SeashoreHouse_EventScript_269533
msgbox Route109_SeashoreHouse_Text_26989D, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route109_SeashoreHouse_EventScript_2694FD:: @ 82694FD
trainerbattle_single TRAINER_JOHANNA, Route109_SeashoreHouse_Text_2698E3, Route109_SeashoreHouse_Text_269947, Route109_SeashoreHouse_EventScript_269533
msgbox Route109_SeashoreHouse_Text_269953, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route109_SeashoreHouse_EventScript_269518:: @ 8269518
trainerbattle_single TRAINER_SIMON, Route109_SeashoreHouse_Text_269986, Route109_SeashoreHouse_Text_2699C5, Route109_SeashoreHouse_EventScript_269533
msgbox Route109_SeashoreHouse_Text_2699DF, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route109_SeashoreHouse_EventScript_269533:: @ 8269533
checktrainerflag TRAINER_DWAYNE
2018-12-22 02:28:24 +01:00
goto_if_lt Route109_SeashoreHouse_EventScript_269553
2017-11-10 02:21:31 +01:00
checktrainerflag TRAINER_JOHANNA
2018-12-22 02:28:24 +01:00
goto_if_lt Route109_SeashoreHouse_EventScript_269553
2017-11-10 02:21:31 +01:00
checktrainerflag TRAINER_SIMON
2018-12-22 02:28:24 +01:00
goto_if_lt Route109_SeashoreHouse_EventScript_269553
2019-01-02 22:12:43 +01:00
setflag FLAG_DEFEATED_SEASHORE_HOUSE
2017-11-10 02:21:31 +01:00
release
end
Route109_SeashoreHouse_EventScript_269553:: @ 8269553
release
end
Route109_SeashoreHouse_Text_269555: @ 8269555
2018-12-07 16:41:08 +01:00
.string "I'm the owner of the SEASHORE HOUSE.\n"
2017-11-10 02:21:31 +01:00
.string "But you can call me MR. SEA!\p"
.string "What I love above all is to see hot\n"
.string "POKéMON battles.\p"
.string "Let me see that your heart burns hot!\p"
.string "If you can defeat all the TRAINERS\n"
2018-12-07 16:41:08 +01:00
.string "here, I'll reward your efforts.$"
2017-11-10 02:21:31 +01:00
Route109_SeashoreHouse_Text_269635: @ 8269635
.string "Show me some hot matches!\p"
.string "I run this SEASHORE HOUSE just for\n"
.string "that reason alone!$"
Route109_SeashoreHouse_Text_269685: @ 8269685
2018-12-07 16:41:08 +01:00
.string "You're scorching hot!\n"
2017-11-10 02:21:31 +01:00
.string "Those battles blazed!\l"
2018-12-07 16:41:08 +01:00
.string "I'm more than just satisfied!\p"
2017-11-10 02:21:31 +01:00
.string "As thanks for showing me your hot\n"
.string "streak, I want you to take these.\p"
2018-12-07 16:41:08 +01:00
.string "It's half a dozen bottles of SODA POP!$"
2017-11-10 02:21:31 +01:00
Route109_SeashoreHouse_Text_26973A: @ 826973A
2018-12-07 16:41:08 +01:00
.string "Oh, but hey, your BAG's jammed full.\n"
.string "I'll hang on to these for you.$"
2017-11-10 02:21:31 +01:00
Route109_SeashoreHouse_Text_26977E: @ 826977E
.string "Want to buy some SODA POP?\n"
.string "POKéMON love it!\p"
.string "Just ¥300 a bottle!\n"
.string "Buy some!$"
Route109_SeashoreHouse_Text_2697C8: @ 82697C8
.string "Here you go!$"
Route109_SeashoreHouse_Text_2697D5: @ 82697D5
2018-12-07 16:41:08 +01:00
.string "You don't have the money.$"
2017-11-10 02:21:31 +01:00
Route109_SeashoreHouse_Text_2697EF: @ 82697EF
.string "No?\n"
2018-12-07 16:41:08 +01:00
.string "That's too bad.$"
2017-11-10 02:21:31 +01:00
Route109_SeashoreHouse_Text_269803: @ 8269803
2018-12-07 16:41:08 +01:00
.string "If you're looking for a battle in the\n"
.string "SEASHORE HOUSE, you'll find no\l"
2017-11-10 02:21:31 +01:00
.string "hotter TRAINER than me, matey!$"
Route109_SeashoreHouse_Text_269867: @ 8269867
.string "That was a hot battle!\n"
.string "I can accept that loss, matey!$"
Route109_SeashoreHouse_Text_26989D: @ 826989D
2018-12-07 16:41:08 +01:00
.string "Whenever I'm in SLATEPORT, I enjoy\n"
2017-11-10 02:21:31 +01:00
.string "hot battles and ice-cold SODA POP!$"
Route109_SeashoreHouse_Text_2698E3: @ 82698E3
2018-12-07 16:41:08 +01:00
.string "Boring battles aren't worth the effort.\p"
2017-11-10 02:21:31 +01:00
.string "Fiery hot battles are what toughen up\n"
.string "TRAINERS and POKéMON!$"
Route109_SeashoreHouse_Text_269947: @ 8269947
2018-12-07 16:41:08 +01:00
.string "That's hot!$"
2017-11-10 02:21:31 +01:00
Route109_SeashoreHouse_Text_269953: @ 8269953
2018-12-07 16:41:08 +01:00
.string "Whew, I'm all thirsty.\n"
.string "Maybe I'll have a SODA POP.$"
2017-11-10 02:21:31 +01:00
Route109_SeashoreHouse_Text_269986: @ 8269986
2018-12-07 16:41:08 +01:00
.string "I'm going to show you how great\n"
.string "my POKéMON are, but don't cry!$"
2017-11-10 02:21:31 +01:00
Route109_SeashoreHouse_Text_2699C5: @ 82699C5
2018-12-07 16:41:08 +01:00
.string "…I lost, but I won't cry…$"
2017-11-10 02:21:31 +01:00
Route109_SeashoreHouse_Text_2699DF: @ 82699DF
.string "If one of my POKéMON knew the move\n"
.string "for carrying me across water on its\l"
.string "back, I could get rid of this inner tube.$"