pokeemerald/data/maps/LilycoveCity_CoveLilyMotel_2F/scripts.inc
Melody c557ac61ae adds constants, cleans up callstd and msgbox code
* adds some constants for standard script names and messagebox types
* replaces some callstd calls with msgbox calls where equivalent
* replaces msgbox and callstd calls using raw digits with versions that use the constants
2018-12-02 03:37:46 -05:00

141 lines
4.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

LilycoveCity_CoveLilyMotel_2F_MapScripts:: @ 82186D2
.byte 0
LilycoveCity_CoveLilyMotel_2F_EventScript_2186D3:: @ 82186D3
lock
faceplayer
checkflag FLAG_TEMP_2
call_if 0, LilycoveCity_CoveLilyMotel_2F_EventScript_2186F9
checkflag FLAG_TEMP_2
call_if 1, LilycoveCity_CoveLilyMotel_2F_EventScript_21870F
specialvar VAR_RESULT, sub_80C08E4
compare VAR_RESULT, 1
goto_eq LilycoveCity_CoveLilyMotel_2F_EventScript_218702
release
end
LilycoveCity_CoveLilyMotel_2F_EventScript_2186F9:: @ 82186F9
msgbox LilycoveCity_CoveLilyMotel_2F_Text_218774, MSGBOX_DEFAULT
return
LilycoveCity_CoveLilyMotel_2F_EventScript_218702:: @ 8218702
setflag FLAG_TEMP_2
playfanfare MUS_FANFA4
waitfanfare
goto LilycoveCity_CoveLilyMotel_2F_EventScript_21870F
end
LilycoveCity_CoveLilyMotel_2F_EventScript_21870F:: @ 821870F
message LilycoveCity_CoveLilyMotel_2F_Text_21881C
waitmessage
call LilycoveCity_CoveLilyMotel_2F_EventScript_27207E
special Special_ShowDiploma
waitstate
release
end
LilycoveCity_CoveLilyMotel_2F_EventScript_218720:: @ 8218720
msgbox LilycoveCity_CoveLilyMotel_2F_Text_2188D6, MSGBOX_NPC
end
LilycoveCity_CoveLilyMotel_2F_EventScript_218729:: @ 8218729
msgbox LilycoveCity_CoveLilyMotel_2F_Text_21892B, MSGBOX_NPC
end
LilycoveCity_CoveLilyMotel_2F_EventScript_218732:: @ 8218732
msgbox LilycoveCity_CoveLilyMotel_2F_Text_21896C, MSGBOX_NPC
end
LilycoveCity_CoveLilyMotel_2F_EventScript_21873B:: @ 821873B
msgbox LilycoveCity_CoveLilyMotel_2F_Text_218A21, MSGBOX_NPC
end
LilycoveCity_CoveLilyMotel_2F_EventScript_218744:: @ 8218744
msgbox LilycoveCity_CoveLilyMotel_2F_Text_218A5B, MSGBOX_NPC
end
LilycoveCity_CoveLilyMotel_2F_EventScript_21874D:: @ 821874D
lock
faceplayer
checkflag FLAG_0x1CE
goto_eq LilycoveCity_CoveLilyMotel_2F_EventScript_21876A
msgbox LilycoveCity_CoveLilyMotel_2F_Text_218ACF, MSGBOX_DEFAULT
addvar VAR_0x40D1, 1
setflag FLAG_0x1CE
release
end
LilycoveCity_CoveLilyMotel_2F_EventScript_21876A:: @ 821876A
msgbox LilycoveCity_CoveLilyMotel_2F_Text_218C33, MSGBOX_DEFAULT
release
end
LilycoveCity_CoveLilyMotel_2F_Text_218774: @ 8218774
.string "Im the GAME DESIGNER.\p"
.string "Oh, is that right?\n"
.string "Youre working on a POKéDEX?\p"
.string "Its tough trying to complete it,\n"
.string "but dont give up.\p"
.string "If you do complete it, please come\n"
.string "show me.$"
LilycoveCity_CoveLilyMotel_2F_Text_21881C: @ 821881C
.string "Wow! Thats awesome!\n"
.string "Yep, its totally awesome!\p"
.string "This POKéDEX is completely filled!\n"
.string "You really must love POKéMON!\p"
.string "Im so impressed!\p"
.string "Let me give you something in\n"
.string "recognition of your feat!$"
LilycoveCity_CoveLilyMotel_2F_Text_2188D6: @ 82188D6
.string "Me? Youre talking to me?\n"
.string "Im the PROGRAMMER.\p"
.string "I wonder what the SLOTS are\n"
.string "like here.$"
LilycoveCity_CoveLilyMotel_2F_Text_21892B: @ 821892B
.string "Im the GRAPHIC ARTIST! Arent the\n"
.string "POKéMON of HOENN interesting?$"
LilycoveCity_CoveLilyMotel_2F_Text_21896C: @ 821896C
.string "The girl TUBERS, theyre cute, hey?\n"
.string "To battle against a cute TUBER…\p"
.string "Whoop, its so awesome!\p"
.string "And the TWINS! Arent they cute?\n"
.string "A 2-on-2 battle with TWINS…\p"
.string "Whoop, its unbearably fun!$"
LilycoveCity_CoveLilyMotel_2F_Text_218A21: @ 8218A21
.string "The sea breeze tickles my heart.\n"
.string "It feels wonderful here!$"
LilycoveCity_CoveLilyMotel_2F_Text_218A5B: @ 8218A5B
.string "You never know when and where\n"
.string "people will challenge you.\p"
.string "Thats why I never leave home without\n"
.string "my GAME BOY ADVANCE.$"
LilycoveCity_CoveLilyMotel_2F_Text_218ACF: @ 8218ACF
.string "SCOTT: … … … … …\n"
.string "… … … … … Zzz…\p"
.string "… … … … … Huh?!\n"
.string "Oh, sorry, sorry! I was snoozing!\p"
.string "I came to check out this POKéMON\n"
.string "CONTEST thing.\p"
.string "I have to admit, it does look quite\n"
.string "entertaining, but…\p"
.string "Consider me a purist--I prefer\n"
.string "battles and tough TRAINERS.\p"
.string "But thats just me.\p"
.string "{PLAYER}{KUN}, I hope youll enjoy everything\n"
.string "like the GYMS, CONTESTS, BATTLE TENT,\l"
.string "the whole works!$"
LilycoveCity_CoveLilyMotel_2F_Text_218C33: @ 8218C33
.string "SCOTT: I think it does take strategy\n"
.string "to win a CONTEST.\p"
.string "Devising CONTEST strategies is one way\n"
.string "of becoming a better TRAINER, Id say.$"