pokeemerald/data/maps/scripts/BattleFrontier_Lounge6.inc

83 lines
2.3 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
BattleFrontier_Lounge6_MapScripts:: @ 8264FEC
.byte 0
BattleFrontier_Lounge6_EventScript_264FED:: @ 8264FED
lock
faceplayer
checkflag FLAG_0x09C
goto_eq BattleFrontier_Lounge6_EventScript_265083
setvar VAR_0x8008, 3
copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, sub_807E73C
copyvar VAR_0x8009, VAR_RESULT
msgbox BattleFrontier_Lounge6_Text_26508D, 5
compare_var_to_value VAR_RESULT, 0
goto_eq BattleFrontier_Lounge6_EventScript_26506B
special sub_81B94B0
waitstate
copyvar VAR_0x800A, VAR_0x8004
compare_var_to_value VAR_0x8004, 255
goto_eq BattleFrontier_Lounge6_EventScript_26506B
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, BattleFrontier_Lounge6_EventScript_265075
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
special sub_807EA10
special sub_807F0E4
waitstate
msgbox BattleFrontier_Lounge6_Text_265128, 4
setflag FLAG_0x09C
release
end
BattleFrontier_Lounge6_EventScript_26506B:: @ 826506B
msgbox BattleFrontier_Lounge6_Text_2651CB, 4
release
end
BattleFrontier_Lounge6_EventScript_265075:: @ 8265075
bufferspeciesname 0, VAR_0x8009
msgbox BattleFrontier_Lounge6_Text_26518D, 4
release
end
BattleFrontier_Lounge6_EventScript_265083:: @ 8265083
msgbox BattleFrontier_Lounge6_Text_26520E, 4
release
end
BattleFrontier_Lounge6_Text_26508D: @ 826508D
.string "My POKéMON is a {STR_VAR_2}.\n"
.string "Do you know it?\l"
.string "Its quite cute and rather nice.\p"
.string "This little one, I could trade with\n"
.string "pride!\p"
.string "Would you like to trade me a {STR_VAR_1}\n"
.string "for my {STR_VAR_2}?$"
BattleFrontier_Lounge6_Text_265128: @ 8265128
.string "Oh, its adorable!\n"
.string "Thank you!\l"
.string "I promise Ill be good to it!\p"
.string "Oh! I hope youll be good to\n"
.string "my {STR_VAR_2}, too!$"
BattleFrontier_Lounge6_Text_26518D: @ 826518D
.string "Oh, Im sorry!\n"
.string "I dont intend to trade for anything\l"
.string "but a {STR_VAR_1}.$"
BattleFrontier_Lounge6_Text_2651CB: @ 82651CB
.string "Oh, you wont?\n"
.string "Well, thats fine, too.\l"
.string "Please come visit us again.$"
BattleFrontier_Lounge6_Text_26520E: @ 826520E
.string "Giggle!\n"
.string "A SKITTY is so much cuter than I had\l"
.string "imagined. Im delighted!$"