pokeemerald/data/maps/Route111_OldLadysRestStop/scripts.inc

55 lines
1.8 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
Route111_OldLadysRestStop_MapScripts:: @ 822A916
2019-04-05 01:28:37 +02:00
map_script MAP_SCRIPT_ON_TRANSITION, Route111_OldLadysRestStop_OnTransition
2017-11-10 02:21:31 +01:00
.byte 0
2019-04-05 01:28:37 +02:00
Route111_OldLadysRestStop_OnTransition: @ 822A91C
2017-12-27 04:20:29 +01:00
setflag FLAG_LANDMARK_OLD_LADY_REST_SHOP
2017-11-10 02:21:31 +01:00
end
Route111_OldLadysRestStop_EventScript_OldLady:: @ 822A920
2017-11-10 02:21:31 +01:00
lock
faceplayer
msgbox Route111_OldLadysRestStop_Text_RestUpHere, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, YES
goto_if_eq Route111_OldLadysRestStop_EventScript_Rest
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
goto_if_eq Route111_OldLadysRestStop_EventScript_DeclineRest
2017-11-10 02:21:31 +01:00
end
Route111_OldLadysRestStop_EventScript_Rest:: @ 822A941
msgbox Route111_OldLadysRestStop_Text_TakeYourTimeRestUp, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
call Common_EventScript_OutOfCenterPartyHeal
msgbox Route111_OldLadysRestStop_Text_StillTiredTakeAnotherRest, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, YES
goto_if_eq Route111_OldLadysRestStop_EventScript_Rest
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
goto_if_eq Route111_OldLadysRestStop_EventScript_DeclineRest
2017-11-10 02:21:31 +01:00
end
Route111_OldLadysRestStop_EventScript_DeclineRest:: @ 822A96E
msgbox Route111_OldLadysRestStop_Text_DontNeedToBeShy, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route111_OldLadysRestStop_Text_RestUpHere: @ 822A978
2017-11-10 02:21:31 +01:00
.string "Oh, dear, dear.\n"
2018-12-07 16:41:08 +01:00
.string "Aren't your POKéMON exhausted?\p"
.string "If you'd like, rest up here.\n"
.string "That's a fine idea! You should do that.$"
2017-11-10 02:21:31 +01:00
Route111_OldLadysRestStop_Text_TakeYourTimeRestUp: @ 822A9EC
2018-12-07 16:41:08 +01:00
.string "That's right.\n"
2017-11-10 02:21:31 +01:00
.string "Take your time and rest up!$"
Route111_OldLadysRestStop_Text_StillTiredTakeAnotherRest: @ 822AA16
2017-11-10 02:21:31 +01:00
.string "Oh, dear, dear.\n"
.string "Are your POKéMON still tired?\p"
.string "You should take another rest here.\n"
2018-12-07 16:41:08 +01:00
.string "That's a fine idea. You should do that.$"
2017-11-10 02:21:31 +01:00
Route111_OldLadysRestStop_Text_DontNeedToBeShy: @ 822AA8F
2017-11-10 02:21:31 +01:00
.string "Is that so?\n"
2018-12-07 16:41:08 +01:00
.string "You don't need to be shy about it.$"
2017-11-10 02:21:31 +01:00