pokecrystal/maps/CeladonGym.asm

295 lines
6.0 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const CELADONGYM_ERIKA
const CELADONGYM_LASS1
const CELADONGYM_LASS2
const CELADONGYM_BUENA
const CELADONGYM_TWIN1
const CELADONGYM_TWIN2
2015-07-10 07:00:27 +00:00
CeladonGym_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 07:00:27 +00:00
ErikaScript_0x72a6a:
faceplayer
loadfont
2015-07-10 07:00:27 +00:00
checkflag ENGINE_RAINBOWBADGE
iftrue .FightDone
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x72b28
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-11-02 19:37:02 +00:00
winlosstext UnknownText_0x72c3e, 0
loadtrainer ERIKA, 1
startbattle
returnafterbattle
2015-07-10 07:00:27 +00:00
setevent EVENT_BEAT_ERIKA
2013-09-24 07:48:58 +00:00
setevent EVENT_BEAT_LASS_MICHELLE
setevent EVENT_BEAT_PICNICKER_TANYA
setevent EVENT_BEAT_BEAUTY_JULIA
setevent EVENT_BEAT_TWINS_JO_AND_ZOE
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x72c96
playsound SFX_GET_BADGE
2015-11-25 15:16:29 +00:00
waitsfx
2015-07-10 07:00:27 +00:00
setflag ENGINE_RAINBOWBADGE
.FightDone
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_TM19_GIGA_DRAIN
iftrue UnknownScript_0x72aae
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x72cb0
2015-11-30 03:29:45 +00:00
buttonsound
2015-11-05 01:20:14 +00:00
verbosegiveitem TM_GIGA_DRAIN
iffalse UnknownScript_0x72aae
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_TM19_GIGA_DRAIN
2015-07-10 07:00:27 +00:00
UnknownScript_0x72aae:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x72d8f
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 07:00:27 +00:00
TrainerLassMichelle:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_LASS_MICHELLE, LASS, MICHELLE, LassMichelleSeenText, LassMichelleBeatenText, 0, LassMichelleScript
2015-07-10 07:00:27 +00:00
LassMichelleScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x72e30
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 07:00:27 +00:00
TrainerPicnickerTanya:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_PICNICKER_TANYA, PICNICKER, TANYA, PicnickerTanyaSeenText, PicnickerTanyaBeatenText, 0, PicnickerTanyaScript
2015-07-10 07:00:27 +00:00
PicnickerTanyaScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x72e8e
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 07:00:27 +00:00
TrainerBeautyJulia:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_BEAUTY_JULIA, BEAUTY, JULIA, BeautyJuliaSeenText, BeautyJuliaBeatenText, 0, BeautyJuliaScript
2015-07-10 07:00:27 +00:00
BeautyJuliaScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x72f01
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 07:00:27 +00:00
TrainerTwinsJoandzoe1:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_TWINS_JO_AND_ZOE, TWINS, JOANDZOE1, TwinsJoandzoe1SeenText, TwinsJoandzoe1BeatenText, 0, TwinsJoandzoe1Script
2015-07-10 07:00:27 +00:00
TwinsJoandzoe1Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x72f70
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 07:00:27 +00:00
TrainerTwinsJoandzoe2:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_TWINS_JO_AND_ZOE, TWINS, JOANDZOE2, TwinsJoandzoe2SeenText, TwinsJoandzoe2BeatenText, 0, TwinsJoandzoe2Script
2015-07-10 07:00:27 +00:00
TwinsJoandzoe2Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x72fc0
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-25 03:51:36 +00:00
CeladonGymStatue:
checkflag ENGINE_RAINBOWBADGE
iftrue .Beaten
2015-06-25 01:26:24 +00:00
jumpstd gymstatue1
2015-06-25 03:51:36 +00:00
.Beaten
trainertotext ERIKA, 1, $1
2015-06-25 01:26:24 +00:00
jumpstd gymstatue2
2015-07-10 07:00:27 +00:00
UnknownText_0x72b28:
text "ERIKA: Hello…"
line "Lovely weather,"
para "isn't it?"
line "It's so pleasant…"
para "…I'm afraid I may"
line "doze off…"
para "My name is ERIKA."
line "I am the LEADER of"
cont "CELADON GYM."
para "…Oh? All the way"
line "from JOHTO, you"
cont "say? How nice…"
para "Oh. I'm sorry, I"
line "didn't realize"
para "that you wished to"
line "challenge me."
para "Very well, but I"
line "shall not lose."
done
2015-07-10 07:00:27 +00:00
UnknownText_0x72c3e:
text "ERIKA: Oh!"
line "I concede defeat…"
para "You are remarkably"
line "strong…"
para "I shall give you"
line "RAINBOWBADGE…"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x72c96:
text "<PLAYER> received"
line "RAINBOWBADGE."
done
2015-07-10 07:00:27 +00:00
UnknownText_0x72cb0:
text "ERIKA: That was a"
line "delightful match."
para "I felt inspired."
line "Please, I wish you"
cont "to have this TM."
para "It is GIGA DRAIN."
para "It is a wonderful"
line "move that drains"
para "half the damage it"
line "inflicts to heal"
cont "your #MON."
para "Please use it if"
line "it pleases you…"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x72d8f:
text "ERIKA: Losing"
line "leaves a bitter"
cont "aftertaste…"
para "But knowing that"
line "there are strong"
para "trainers spurs me"
line "to do better…"
done
2015-07-10 07:00:27 +00:00
LassMichelleSeenText:
text "Do you think a"
line "girls-only GYM"
cont "is rare?"
done
2015-07-10 07:00:27 +00:00
LassMichelleBeatenText:
text "Oh, bleah!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x72e30:
text "I just got care-"
line "less, that's all!"
done
2015-07-10 07:00:27 +00:00
PicnickerTanyaSeenText:
text "Oh, a battle?"
line "That's kind of"
cont "scary, but OK!"
done
2015-07-10 07:00:27 +00:00
PicnickerTanyaBeatenText:
text "Oh, that's it?"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x72e8e:
text "Oh, look at all"
line "your BADGES. No"
para "wonder I couldn't"
line "win!"
done
2015-07-10 07:00:27 +00:00
BeautyJuliaSeenText:
text "Were you looking"
line "at these flowers"
cont "or at me?"
done
2015-07-10 07:00:27 +00:00
BeautyJuliaBeatenText:
text "How annoying!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x72f01:
text "How do I go about"
line "becoming ladylike"
cont "like ERIKA?"
done
2015-07-10 07:00:27 +00:00
TwinsJoandzoe1SeenText:
text "We'll show you"
line "#MON moves that"
cont "ERIKA taught us!"
done
2015-07-10 07:00:27 +00:00
TwinsJoandzoe1BeatenText:
text "Oh… We lost…"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x72f70:
text "ERIKA will get you"
line "back for us!"
done
2015-07-10 07:00:27 +00:00
TwinsJoandzoe2SeenText:
text "We're going to"
line "protect ERIKA!"
done
2015-07-10 07:00:27 +00:00
TwinsJoandzoe2BeatenText:
text "We couldn't win…"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x72fc0:
text "ERIKA is much,"
line "much stronger!"
done
2015-07-10 07:00:27 +00:00
CeladonGym_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $11, $4, 8, CELADON_CITY
warp_def $11, $5, 8, CELADON_CITY
.XYTriggers:
db 0
.Signposts:
db 2
signpost 15, 3, SIGNPOST_READ, CeladonGymStatue
signpost 15, 6, SIGNPOST_READ, CeladonGymStatue
.PersonEvents:
db 6
person_event SPRITE_ERIKA, 3, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, ErikaScript_0x72a6a, -1
person_event SPRITE_LASS, 8, 7, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 2, TrainerLassMichelle, -1
person_event SPRITE_LASS, 8, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_TRAINER, 2, TrainerPicnickerTanya, -1
person_event SPRITE_BUENA, 5, 3, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 2, TrainerBeautyJulia, -1
person_event SPRITE_TWIN, 10, 4, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 1, TrainerTwinsJoandzoe1, -1
person_event SPRITE_TWIN, 10, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 1, TrainerTwinsJoandzoe2, -1