pokeemerald/data/maps/scripts/PacifidlogTown_House3.inc
Diegoisawesome f61810a8f9 Dump maps
2017-11-09 19:21:31 -06:00

94 lines
2.8 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.

PacifidlogTown_House3_MapScripts:: @ 8203C10
.byte 0
PacifidlogTown_House3_EventScript_203C11:: @ 8203C11
lock
faceplayer
checkflag FLAG_0x09A
goto_eq PacifidlogTown_House3_EventScript_203CAB
setvar VAR_0x8008, 2
copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, sub_807E73C
copyvar VAR_0x8009, VAR_RESULT
msgbox PacifidlogTown_House3_Text_203CBE, 5
compare_var_to_value VAR_RESULT, 0
goto_eq PacifidlogTown_House3_EventScript_203C93
special sub_81B94B0
waitstate
copyvar VAR_0x800A, VAR_0x8004
compare_var_to_value VAR_0x8004, 255
goto_eq PacifidlogTown_House3_EventScript_203C93
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, sub_807E9D4
copyvar VAR_0x800B, VAR_RESULT
compare_var_to_var VAR_RESULT, VAR_0x8009
goto_if 5, PacifidlogTown_House3_EventScript_203C9D
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
special sub_807EA10
special sub_807F0E4
waitstate
bufferspeciesname 0, VAR_0x8009
msgbox PacifidlogTown_House3_Text_203D87, 4
setflag FLAG_0x09A
release
end
PacifidlogTown_House3_EventScript_203C93:: @ 8203C93
msgbox PacifidlogTown_House3_Text_203E12, 4
release
end
PacifidlogTown_House3_EventScript_203C9D:: @ 8203C9D
bufferspeciesname 0, VAR_0x8009
msgbox PacifidlogTown_House3_Text_203DDE, 4
release
end
PacifidlogTown_House3_EventScript_203CAB:: @ 8203CAB
msgbox PacifidlogTown_House3_Text_203E7F, 4
release
end
PacifidlogTown_House3_EventScript_203CB5:: @ 8203CB5
msgbox PacifidlogTown_House3_Text_203EF1, 2
end
PacifidlogTown_House3_Text_203CBE: @ 8203CBE
.string "Check out this {STR_VAR_2}!\p"
.string "Its the {STR_VAR_2} that I caught\n"
.string "yesterday to celebrate my birthday!\p"
.string "Oh, I can see that you want it!\n"
.string "After all, its priceless!\p"
.string "Ill tell you what. I might be willing\n"
.string "to trade it for a {STR_VAR_1}.$"
PacifidlogTown_House3_Text_203D87: @ 8203D87
.string "Oh, so this is a {STR_VAR_1}?\p"
.string "Its sort of like a {STR_VAR_2},\n"
.string "and yet its subtly different.\p"
.string "Thank you!$"
PacifidlogTown_House3_Text_203DDE: @ 8203DDE
.string "No, no, no! I wont accept any\n"
.string "less than a real {STR_VAR_1}!$"
PacifidlogTown_House3_Text_203E12: @ 8203E12
.string "Oh, so youre not going to go through\n"
.string "with this?\p"
.string "Thats cool. Im not desperate to make\n"
.string "a trade or anything.$"
PacifidlogTown_House3_Text_203E7F: @ 8203E7F
.string "I know I could go looking for one\n"
.string "on my own, but…\p"
.string "But I really wanted to get a BAGON\n"
.string "that another TRAINER caught…$"
PacifidlogTown_House3_Text_203EF1: @ 8203EF1
.string "Is that a POKéDEX?\p"
.string "Did you get to meet a lot of different\n"
.string "POKéMON?\p"
.string "I wish I was like you.$"