pokeemerald/data/maps/LavaridgeTown_Gym_1F/scripts.inc

425 lines
14 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
LavaridgeTown_Gym_1F_MapScripts:: @ 81FE6F4
map_script 3, LavaridgeTown_Gym_1F_MapScript1_1FE6FA
.byte 0
LavaridgeTown_Gym_1F_MapScript1_1FE6FA: @ 81FE6FA
call LavaridgeTown_Gym_1F_EventScript_1FE705
call LavaridgeTown_Gym_1F_EventScript_1FE757
end
LavaridgeTown_Gym_1F_EventScript_1FE705:: @ 81FE705
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_B, 0
setvar VAR_TEMP_C, 0
setvar VAR_TEMP_D, 0
setvar VAR_TEMP_E, 0
setvar VAR_TEMP_F, 0
2017-11-10 02:21:31 +01:00
checktrainerflag TRAINER_COLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE72C
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_B, 1
2017-11-10 02:21:31 +01:00
LavaridgeTown_Gym_1F_EventScript_1FE72C:: @ 81FE72C
checktrainerflag TRAINER_GERALD
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE73A
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_C, 1
2017-11-10 02:21:31 +01:00
LavaridgeTown_Gym_1F_EventScript_1FE73A:: @ 81FE73A
checktrainerflag TRAINER_AXLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE748
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_D, 1
2017-11-10 02:21:31 +01:00
LavaridgeTown_Gym_1F_EventScript_1FE748:: @ 81FE748
checktrainerflag TRAINER_DANIELLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE756
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_E, 1
2017-11-10 02:21:31 +01:00
LavaridgeTown_Gym_1F_EventScript_1FE756:: @ 81FE756
return
LavaridgeTown_Gym_1F_EventScript_1FE757:: @ 81FE757
checktrainerflag TRAINER_COLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE764
setobjectmovementtype 2, 63
LavaridgeTown_Gym_1F_EventScript_1FE764:: @ 81FE764
checktrainerflag TRAINER_GERALD
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE771
setobjectmovementtype 3, 63
LavaridgeTown_Gym_1F_EventScript_1FE771:: @ 81FE771
checktrainerflag TRAINER_AXLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE77E
setobjectmovementtype 4, 63
LavaridgeTown_Gym_1F_EventScript_1FE77E:: @ 81FE77E
checktrainerflag TRAINER_DANIELLE
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE78B
setobjectmovementtype 5, 63
LavaridgeTown_Gym_1F_EventScript_1FE78B:: @ 81FE78B
return
LavaridgeTown_Gym_1F_EventScript_1FE78C:: @ 81FE78C
trainerbattle_single TRAINER_FLANNERY_1, LavaridgeTown_Gym_1F_Text_1FF0DC, LavaridgeTown_Gym_1F_Text_1FF233, LavaridgeTown_Gym_1F_EventScript_1FE7C1, NO_MUSIC
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
2017-11-10 02:21:31 +01:00
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE864
checkflag FLAG_0x0A8
goto_if 0, LavaridgeTown_Gym_1F_EventScript_1FE81D
msgbox LavaridgeTown_Gym_1F_Text_1FF546, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
LavaridgeTown_Gym_1F_EventScript_1FE7C1:: @ 81FE7C1
message LavaridgeTown_Gym_1F_Text_1FF32F
waitmessage
call LavaridgeTown_Gym_1F_EventScript_27207E
msgbox LavaridgeTown_Gym_1F_Text_1FF359, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
setflag FLAG_0x06C
setflag FLAG_0x4F3
setflag FLAG_BADGE04_GET
addvar VAR_0x4085, 1
compare VAR_0x4085, 6
2017-11-10 02:21:31 +01:00
call_if 1, LavaridgeTown_Gym_1F_EventScript_271E84
setvar VAR_0x8008, 4
call LavaridgeTown_Gym_1F_EventScript_271F43
2018-10-19 03:32:21 +02:00
setflag FLAG_HIDE_VERDANTURF_TOWN_WANDAS_HOUSE_WALLY
2017-11-10 02:21:31 +01:00
setvar VAR_0x4053, 1
call LavaridgeTown_Gym_1F_EventScript_1FE841
closemessage
delay 30
2017-12-22 08:46:19 +01:00
playfanfare MUS_ME_TORE_EYE
msgbox LavaridgeTown_Gym_1F_Text_1FF517, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
waitfanfare
closemessage
delay 30
setflag FLAG_0x1D6
release
end
LavaridgeTown_Gym_1F_EventScript_1FE81D:: @ 81FE81D
giveitem_std ITEM_TM50
compare VAR_RESULT, 0
2017-11-10 02:21:31 +01:00
goto_eq LavaridgeTown_Gym_1F_EventScript_272054
msgbox LavaridgeTown_Gym_1F_Text_1FF45C, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
setflag FLAG_0x0A8
release
end
LavaridgeTown_Gym_1F_EventScript_1FE841:: @ 81FE841
giveitem_std ITEM_TM50
compare VAR_RESULT, 0
2017-11-10 02:21:31 +01:00
goto_eq LavaridgeTown_Gym_1F_EventScript_27205E
msgbox LavaridgeTown_Gym_1F_Text_1FF45C, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
setflag FLAG_0x0A8
return
LavaridgeTown_Gym_1F_EventScript_1FE864:: @ 81FE864
trainerbattle_rematch_double TRAINER_FLANNERY_1, LavaridgeTown_Gym_1F_Text_1FF601, LavaridgeTown_Gym_1F_Text_1FF69F, LavaridgeTown_Gym_1F_Text_1FF75E
msgbox LavaridgeTown_Gym_1F_Text_1FF6BF, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
LavaridgeTown_Gym_1F_EventScript_1FE87F:: @ 81FE87F
trainerbattle TRAINER_BATTLE_CONTINUE_SCRIPT, TRAINER_COLE, 2, LavaridgeTown_Gym_1F_Text_1FEADE, LavaridgeTown_Gym_1F_Text_1FEAFB, LavaridgeTown_Gym_1F_EventScript_1FE89A
msgbox LavaridgeTown_Gym_1F_Text_1FEB1C, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
LavaridgeTown_Gym_1F_EventScript_1FE89A:: @ 81FE89A
LavaridgeTown_Gym_B1F_EventScript_1FE89A:: @ 81FE89A
call LavaridgeTown_Gym_1F_EventScript_1FE705
release
2017-12-01 21:25:13 +01:00
special ShouldTryGetTrainerScript
compare VAR_RESULT, 1
2017-12-01 21:25:13 +01:00
goto_eq EventScript_GotoTrainerScript
2017-11-10 02:21:31 +01:00
end
LavaridgeTown_Gym_1F_EventScript_1FE8AF:: @ 81FE8AF
trainerbattle TRAINER_BATTLE_CONTINUE_SCRIPT, TRAINER_AXLE, 4, LavaridgeTown_Gym_1F_Text_1FEB7B, LavaridgeTown_Gym_1F_Text_1FEBC0, LavaridgeTown_Gym_1F_EventScript_1FE89A
msgbox LavaridgeTown_Gym_1F_Text_1FEBE1, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
LavaridgeTown_Gym_B1F_EventScript_1FE8CA:: @ 81FE8CA
trainerbattle TRAINER_BATTLE_CONTINUE_SCRIPT, TRAINER_KEEGAN, 2, LavaridgeTown_Gym_B1F_Text_1FEC31, LavaridgeTown_Gym_B1F_Text_1FECE3, LavaridgeTown_Gym_B1F_EventScript_1FE89A
msgbox LavaridgeTown_Gym_B1F_Text_1FED02, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
LavaridgeTown_Gym_1F_EventScript_1FE8E5:: @ 81FE8E5
trainerbattle TRAINER_BATTLE_CONTINUE_SCRIPT, TRAINER_DANIELLE, 5, LavaridgeTown_Gym_1F_Text_1FEE22, LavaridgeTown_Gym_1F_Text_1FEE42, LavaridgeTown_Gym_1F_EventScript_1FE89A
msgbox LavaridgeTown_Gym_1F_Text_1FEE5D, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
LavaridgeTown_Gym_1F_EventScript_1FE900:: @ 81FE900
trainerbattle TRAINER_BATTLE_CONTINUE_SCRIPT, TRAINER_GERALD, 3, LavaridgeTown_Gym_1F_Text_1FED72, LavaridgeTown_Gym_1F_Text_1FED9E, LavaridgeTown_Gym_1F_EventScript_1FE89A
msgbox LavaridgeTown_Gym_1F_Text_1FEDBB, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
LavaridgeTown_Gym_B1F_EventScript_1FE91B:: @ 81FE91B
trainerbattle TRAINER_BATTLE_CONTINUE_SCRIPT, TRAINER_JACE, 1, LavaridgeTown_Gym_B1F_Text_1FEE9D, LavaridgeTown_Gym_B1F_Text_1FEED5, LavaridgeTown_Gym_B1F_EventScript_1FE89A
msgbox LavaridgeTown_Gym_B1F_Text_1FEF07, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
LavaridgeTown_Gym_B1F_EventScript_1FE936:: @ 81FE936
trainerbattle TRAINER_BATTLE_CONTINUE_SCRIPT, TRAINER_JEFF, 3, LavaridgeTown_Gym_B1F_Text_1FEF60, LavaridgeTown_Gym_B1F_Text_1FEFA7, LavaridgeTown_Gym_B1F_EventScript_1FE89A
msgbox LavaridgeTown_Gym_B1F_Text_1FEFC2, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
LavaridgeTown_Gym_B1F_EventScript_1FE951:: @ 81FE951
trainerbattle TRAINER_BATTLE_CONTINUE_SCRIPT, TRAINER_ELI, 4, LavaridgeTown_Gym_B1F_Text_1FF025, LavaridgeTown_Gym_B1F_Text_1FF05F, LavaridgeTown_Gym_B1F_EventScript_1FE89A
msgbox LavaridgeTown_Gym_B1F_Text_1FF09A, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
LavaridgeTown_Gym_1F_EventScript_1FE96C:: @ 81FE96C
lock
faceplayer
checkflag FLAG_0x4F3
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE981
msgbox LavaridgeTown_Gym_1F_Text_1FE9BF, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
LavaridgeTown_Gym_1F_EventScript_1FE981:: @ 81FE981
msgbox LavaridgeTown_Gym_1F_Text_1FEAB8, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
LavaridgeTown_Gym_1F_EventScript_1FE98B:: @ 81FE98B
lockall
checkflag FLAG_BADGE04_GET
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE9AB
goto LavaridgeTown_Gym_1F_EventScript_1FE9B5
end
LavaridgeTown_Gym_1F_EventScript_1FE99B:: @ 81FE99B
lockall
checkflag FLAG_BADGE04_GET
goto_eq LavaridgeTown_Gym_1F_EventScript_1FE9AB
goto LavaridgeTown_Gym_1F_EventScript_1FE9B5
end
LavaridgeTown_Gym_1F_EventScript_1FE9AB:: @ 81FE9AB
msgbox LavaridgeTown_Gym_1F_Text_1FF5C4, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
releaseall
end
LavaridgeTown_Gym_1F_EventScript_1FE9B5:: @ 81FE9B5
msgbox LavaridgeTown_Gym_1F_Text_1FF5A9, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
releaseall
end
LavaridgeTown_Gym_1F_Text_1FE9BF: @ 81FE9BF
2018-12-07 16:41:08 +01:00
.string "Hey, how's it going, CHAMPION-\n"
2017-11-10 02:21:31 +01:00
.string "bound {PLAYER}?\p"
2018-12-07 16:41:08 +01:00
.string "LAVARIDGE's GYM LEADER FLANNERY\n"
2017-11-10 02:21:31 +01:00
.string "uses FIRE-type POKéMON.\p"
.string "Her passion for POKéMON burns stronger\n"
.string "and hotter than a volcano.\p"
2018-12-07 16:41:08 +01:00
.string "Don't get too close to her--you'll burn!\n"
2017-11-10 02:21:31 +01:00
.string "Hose her down with water and then\l"
.string "go for it!$"
LavaridgeTown_Gym_1F_Text_1FEAB8: @ 81FEAB8
.string "Yow! That was a scorching-hot battle!$"
LavaridgeTown_Gym_1F_Text_1FEADE: @ 81FEADE
.string "Owowowowow!\n"
2018-12-07 16:41:08 +01:00
.string "Yikes, it's hot!$"
2017-11-10 02:21:31 +01:00
LavaridgeTown_Gym_1F_Text_1FEAFB: @ 81FEAFB
2018-12-07 16:41:08 +01:00
.string "I'm blinded by sweat in my eyes…$"
2017-11-10 02:21:31 +01:00
LavaridgeTown_Gym_1F_Text_1FEB1C: @ 81FEB1C
.string "Being buried in hot sand promotes\n"
.string "circulation.\p"
2018-12-07 16:41:08 +01:00
.string "It's effective for healing pain in\n"
2017-11-10 02:21:31 +01:00
.string "your joints.$"
LavaridgeTown_Gym_1F_Text_1FEB7B: @ 81FEB7B
2018-12-07 16:41:08 +01:00
.string "I'm trying to relieve my stress.\n"
.string "Don't come along and stress me out!$"
2017-11-10 02:21:31 +01:00
LavaridgeTown_Gym_1F_Text_1FEBC0: @ 81FEBC0
.string "I hope FLANNERY flames you good!$"
LavaridgeTown_Gym_1F_Text_1FEBE1: @ 81FEBE1
.string "Haaah… Whew…\p"
.string "If you spend too much time buried in\n"
.string "hot sand, it tuckers you out…$"
LavaridgeTown_Gym_B1F_Text_1FEC31: @ 81FEC31
.string "You must be getting tired by now.\n"
2018-12-07 16:41:08 +01:00
.string "You'd like to rest in the hot sand,\l"
.string "wouldn't you?\p"
.string "But you should know that maintaining\n"
.string "your willpower is an important ability\l"
.string "for all TRAINERS.$"
LavaridgeTown_Gym_B1F_Text_1FECE3: @ 81FECE3
.string "Play with fire, and be burned…$"
LavaridgeTown_Gym_B1F_Text_1FED02: @ 81FED02
.string "Your skill is real…\n"
.string "But our LEADER FLANNERY is strong.\p"
2018-12-07 16:41:08 +01:00
.string "If you don't watch yourself, you'll be\n"
.string "burned seriously.$"
LavaridgeTown_Gym_1F_Text_1FED72: @ 81FED72
.string "Can your POKéMON withstand\n"
.string "392-degree heat?$"
LavaridgeTown_Gym_1F_Text_1FED9E: @ 81FED9E
2018-12-07 16:41:08 +01:00
.string "It didn't burn hotly enough…$"
LavaridgeTown_Gym_1F_Text_1FEDBB: @ 81FEDBB
.string "The temperature of magma is\n"
.string "392 degrees.\p"
.string "Your POKéMON beat me, so they should\n"
.string "easily survive in magma.$"
LavaridgeTown_Gym_1F_Text_1FEE22: @ 81FEE22
.string "Um…\n"
2018-12-07 16:41:08 +01:00
.string "Okay, I'll battle with you.$"
LavaridgeTown_Gym_1F_Text_1FEE42: @ 81FEE42
2018-12-07 16:41:08 +01:00
.string "Oh, but you're too strong.$"
LavaridgeTown_Gym_1F_Text_1FEE5D: @ 81FEE5D
2018-12-07 16:41:08 +01:00
.string "I'm going to be a pretty and strong\n"
.string "TRAINER just like FLANNERY.$"
LavaridgeTown_Gym_B1F_Text_1FEE9D: @ 81FEE9D
.string "Come on, get with it!\n"
2018-12-07 16:41:08 +01:00
.string "Let's go before my feelings cool!$"
LavaridgeTown_Gym_B1F_Text_1FEED5: @ 81FEED5
2018-12-07 16:41:08 +01:00
.string "It's so hot, and yet my heart is\n"
.string "clutched by ice…$"
LavaridgeTown_Gym_B1F_Text_1FEF07: @ 81FEF07
.string "The way the battling spirit burns\n"
.string "within you, you may stand a chance\l"
.string "against our LEADER.$"
LavaridgeTown_Gym_B1F_Text_1FEF60: @ 81FEF60
.string "See how the flames blaze wildly?\n"
.string "They flare in anticipation of my win!$"
LavaridgeTown_Gym_B1F_Text_1FEFA7: @ 81FEFA7
2018-12-07 16:41:08 +01:00
.string "Something didn't go right.$"
LavaridgeTown_Gym_B1F_Text_1FEFC2: @ 81FEFC2
.string "Well, so what? I say so what?\n"
.string "I can walk on hot coals barefoot!\p"
2018-12-07 16:41:08 +01:00
.string "…Don't even think about trying it!$"
LavaridgeTown_Gym_B1F_Text_1FF025: @ 81FF025
.string "As much as I love mountains,\n"
.string "I especially love volcanoes.$"
LavaridgeTown_Gym_B1F_Text_1FF05F: @ 81FF05F
.string "Well, it seems to me I lost without\n"
.string "ever being in control.$"
LavaridgeTown_Gym_B1F_Text_1FF09A: @ 81FF09A
.string "I stay here because I became a fan\n"
2018-12-07 16:41:08 +01:00
.string "of FLANNERY's power.\p"
.string "Hehehehe.$"
LavaridgeTown_Gym_1F_Text_1FF0DC: @ 81FF0DC
.string "Welcome… No, wait.\p"
2018-12-07 16:41:08 +01:00
.string "Puny TRAINER, how good to see you've\n"
.string "made it here!\p"
.string "I have been entrusted with the…\n"
.string "No, wait.\p"
2018-12-07 16:41:08 +01:00
.string "I am FLANNERY, and I'm the GYM\n"
.string "LEADER here!\p"
.string "Uh…\n"
.string "Dare not underestimate me, though\l"
.string "I have been LEADER only a short time!\p"
.string "With skills inherited from my grand-\n"
.string "father, I shall, uh…demonstrate the\l"
.string "hot moves we have honed on this land!$"
LavaridgeTown_Gym_1F_Text_1FF233: @ 81FF233
.string "Oh…\n"
.string "I guess I was trying too hard…\p"
2018-12-07 16:41:08 +01:00
.string "I… I've only recently become\n"
.string "a GYM LEADER.\p"
.string "I tried too hard to be someone\n"
2018-12-07 16:41:08 +01:00
.string "I'm not.\p"
.string "I have to do things my natural way. If\n"
2018-12-07 16:41:08 +01:00
.string "I don't, my POKéMON will be confused.\p"
.string "Thanks for teaching me that.\n"
.string "For that, you deserve this.$"
LavaridgeTown_Gym_1F_Text_1FF32F: @ 81FF32F
.string "{PLAYER} received the HEAT BADGE\n"
.string "from FLANNERY.$"
LavaridgeTown_Gym_1F_Text_1FF359: @ 81FF359
.string "If you have a HEAT BADGE, all POKéMON\n"
.string "up to Level 50, even those you get in\l"
.string "trades from other people, will obey\l"
.string "you completely.\p"
.string "And, it lets POKéMON use the HM move\n"
.string "STRENGTH outside of battle.\p"
.string "This is a token of my appreciation.\n"
2018-12-07 16:41:08 +01:00
.string "Don't be shy about taking it!$"
LavaridgeTown_Gym_1F_Text_1FF45C: @ 81FF45C
.string "That TM50 contains OVERHEAT.\p"
.string "That move inflicts serious damage on\n"
.string "the opponent.\p"
.string "But it also sharply cuts the SP. ATK\n"
.string "of the POKéMON using it. It might not\l"
.string "be suitable for longer battles.$"
LavaridgeTown_Gym_1F_Text_1FF517: @ 81FF517
.string "Registered GYM LEADER FLANNERY\n"
.string "in the POKéNAV.$"
LavaridgeTown_Gym_1F_Text_1FF546: @ 81FF546
.string "Your power reminds me of someone…\p"
.string "Oh! I know! You battle like NORMAN,\n"
.string "the GYM LEADER of PETALBURG.$"
LavaridgeTown_Gym_1F_Text_1FF5A9: @ 81FF5A9
.string "LAVARIDGE TOWN POKéMON GYM$"
LavaridgeTown_Gym_1F_Text_1FF5C4: @ 81FF5C4
.string "LAVARIDGE TOWN POKéMON GYM\p"
2018-12-07 16:41:08 +01:00
.string "FLANNERY'S CERTIFIED TRAINERS:\n"
.string "{PLAYER}$"
LavaridgeTown_Gym_1F_Text_1FF601: @ 81FF601
2018-12-07 16:41:08 +01:00
.string "FLANNERY: Losing a battle isn't going\n"
.string "to deflate me.\p"
.string "I love POKéMON.\n"
.string "I love to battle.\l"
.string "And… I love this GYM!\p"
2018-12-07 16:41:08 +01:00
.string "Let's exchange superhot moves\n"
.string "in another battle!$"
LavaridgeTown_Gym_1F_Text_1FF69F: @ 81FF69F
.string "Whew!\n"
.string "On the verge of eruption!$"
LavaridgeTown_Gym_1F_Text_1FF6BF: @ 81FF6BF
.string "FLANNERY: I lost the match,\n"
2018-12-07 16:41:08 +01:00
.string "but I'm completely satisfied.\p"
.string "It's not often I get to enjoy a battle\n"
.string "this heated.\p"
2018-12-07 16:41:08 +01:00
.string "Let's have another one like this\n"
.string "again sometime!$"
LavaridgeTown_Gym_1F_Text_1FF75E: @ 81FF75E
2018-12-07 16:41:08 +01:00
.string "FLANNERY: Losing a battle isn't going\n"
.string "to deflate me.\p"
.string "I love POKéMON.\n"
.string "I love to battle.\l"
.string "And… I love this GYM!\p"
2018-12-07 16:41:08 +01:00
.string "Let's exchange superhot moves\n"
.string "in another battle!\p"
.string "Oh, wait. Do you only have one POKéMON\n"
.string "that can battle?\p"
.string "I hate to say this, but when you come\n"
.string "see me, bring at least two POKéMON.$"