pokeemerald/data/maps/PetalburgCity_WallysHouse/scripts.inc

140 lines
4.4 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
PetalburgCity_WallysHouse_MapScripts:: @ 8204229
map_script 2, PetalburgCity_WallysHouse_MapScript2_204247
map_script 4, PetalburgCity_WallysHouse_MapScript2_204234
.byte 0
PetalburgCity_WallysHouse_MapScript2_204234: @ 8204234
map_script_2 VAR_0x4057, 4, PetalburgCity_WallysHouse_EventScript_20423E
.2byte 0
PetalburgCity_WallysHouse_EventScript_20423E:: @ 820423E
turnobject 255, 4
turnobject 1, 3
end
PetalburgCity_WallysHouse_MapScript2_204247: @ 8204247
map_script_2 VAR_0x4057, 4, PetalburgCity_WallysHouse_EventScript_204251
.2byte 0
PetalburgCity_WallysHouse_EventScript_204251:: @ 8204251
lockall
msgbox PetalburgCity_WallysHouse_Text_20446E, 4
giveitem_std ITEM_HM03
setflag FLAG_0x07A
msgbox PetalburgCity_WallysHouse_Text_20461A, 4
setvar VAR_0x4057, 5
releaseall
end
PetalburgCity_WallysHouse_EventScript_204278:: @ 8204278
lock
faceplayer
checkflag FLAG_0x07E
goto_eq PetalburgCity_WallysHouse_EventScript_2042AC
checkflag FLAG_0x07A
goto_eq PetalburgCity_WallysHouse_EventScript_2042A2
checkflag FLAG_0x087
goto_eq PetalburgCity_WallysHouse_EventScript_2042B6
msgbox PetalburgCity_WallysHouse_Text_2042DF, 4
setflag FLAG_0x087
release
end
PetalburgCity_WallysHouse_EventScript_2042A2:: @ 82042A2
msgbox PetalburgCity_WallysHouse_Text_204661, 4
release
end
PetalburgCity_WallysHouse_EventScript_2042AC:: @ 82042AC
msgbox PetalburgCity_WallysHouse_Text_204698, 4
release
end
PetalburgCity_WallysHouse_EventScript_2042B6:: @ 82042B6
msgbox PetalburgCity_WallysHouse_Text_20444D, 4
release
end
PetalburgCity_WallysHouse_EventScript_2042C0:: @ 82042C0
lock
faceplayer
checkflag FLAG_0x07A
goto_eq PetalburgCity_WallysHouse_EventScript_2042D5
msgbox PetalburgCity_WallysHouse_Text_204732, 4
release
end
PetalburgCity_WallysHouse_EventScript_2042D5:: @ 82042D5
msgbox PetalburgCity_WallysHouse_Text_2047A7, 4
release
end
PetalburgCity_WallysHouse_Text_2042DF: @ 82042DF
.string "Youre…\n"
.string "Ah, you must be {PLAYER}{KUN}, right?\p"
.string "Thank you for playing with WALLY a\n"
.string "little while ago.\p"
.string "Hes been frail and sickly ever\n"
.string "since he was a baby.\p"
.string "Weve sent him to stay with my relatives\n"
.string "in VERDANTURF TOWN for a while.\p"
.string "The air is a lot cleaner there\n"
.string "than it is here.\p"
.string "Whats that? Wheres WALLY?\n"
.string "Hes already left, our WALLY.\p"
.string "I wonder where he could have\n"
.string "gotten by now?$"
PetalburgCity_WallysHouse_Text_20444D: @ 820444D
.string "I wonder how our WALLY is doing?$"
PetalburgCity_WallysHouse_Text_20446E: @ 820446E
.string "{PLAYER}{KUN}! Please excuse us for\n"
.string "dragging you here this way.\p"
.string "But our WALLYs become very healthy\n"
.string "since he went to VERDANTURF TOWN.\p"
.string "We owe it all to you!\p"
.string "When WALLY left town, you helped\n"
.string "him catch a POKéMON, right?\p"
.string "I think that made WALLY really\n"
.string "happy.\p"
.string "Actually, not just WALLY.\n"
.string "It made me, his father, happy too.\p"
.string "Happy that hes gained such a great\n"
.string "friend as you.\p"
.string "This isnt a bribe or anything, but\n"
.string "Id really like you to have this.$"
PetalburgCity_WallysHouse_Text_20461A: @ 820461A
.string "If your POKéMON can SURF, youll be\n"
.string "able to go to all sorts of places.$"
PetalburgCity_WallysHouse_Text_204661: @ 8204661
.string "WALLYs coming home soon.\n"
.string "Im looking forward to that.$"
PetalburgCity_WallysHouse_Text_204698: @ 8204698
.string "Oh? You met WALLY in\n"
.string "EVER GRANDE CITY?\p"
.string "Oh, {PLAYER}{KUN}, dont be silly.\p"
.string "He may have gotten healthy, but he\n"
.string "cant go somewhere far away like\l"
.string "that all by himself.$"
PetalburgCity_WallysHouse_Text_204732: @ 8204732
.string "WALLY was really happy when he told\n"
.string "us that he caught a POKéMON.\p"
.string "Its been ages since Ive seen him\n"
.string "smile like that.$"
PetalburgCity_WallysHouse_Text_2047A7: @ 82047A7
.string "I want you to keep this a secret\n"
.string "from my husband…\p"
.string "But our WALLY left VERDANTURF TOWN\n"
.string "without telling anyone.\p"
.string "You know, WALLY is frail, but\n"
.string "hes surprisingly strong-willed.\p"
.string "Im sure that hell come back safe\n"
.string "and sound one day!$"