pokecrystal/maps/SaffronGym.asm

347 lines
7.2 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const SAFFRONGYM_SABRINA
const SAFFRONGYM_GRANNY1
const SAFFRONGYM_YOUNGSTER1
const SAFFRONGYM_GRANNY2
const SAFFRONGYM_YOUNGSTER2
const SAFFRONGYM_GYM_GUY
2015-07-10 07:00:27 +00:00
SaffronGym_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 07:00:27 +00:00
SabrinaScript_0x189c2e:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2015-07-10 07:00:27 +00:00
checkflag ENGINE_MARSHBADGE
iftrue .FightDone
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x189cdf
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-11-02 19:37:02 +00:00
winlosstext UnknownText_0x189df4, 0
loadtrainer SABRINA, 1
startbattle
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_BEAT_SABRINA
setevent EVENT_BEAT_MEDIUM_REBECCA
setevent EVENT_BEAT_MEDIUM_DORIS
setevent EVENT_BEAT_PSYCHIC_FRANKLIN
setevent EVENT_BEAT_PSYCHIC_JARED
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x189e95
playsound SFX_GET_BADGE
2015-11-25 15:16:29 +00:00
waitsfx
2015-07-10 07:00:27 +00:00
setflag ENGINE_MARSHBADGE
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x189ead
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.FightDone:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x189f6c
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 07:00:27 +00:00
TrainerMediumRebecca:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_MEDIUM_REBECCA, MEDIUM, REBECCA, MediumRebeccaSeenText, MediumRebeccaBeatenText, 0, MediumRebeccaScript
2015-07-10 07:00:27 +00:00
MediumRebeccaScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x18a034
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 07:00:27 +00:00
TrainerPsychicFranklin:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_PSYCHIC_FRANKLIN, PSYCHIC_T, FRANKLIN, PsychicFranklinSeenText, PsychicFranklinBeatenText, 0, PsychicFranklinScript
2015-07-10 07:00:27 +00:00
PsychicFranklinScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x18a0a6
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 07:00:27 +00:00
TrainerMediumDoris:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_MEDIUM_DORIS, MEDIUM, DORIS, MediumDorisSeenText, MediumDorisBeatenText, 0, MediumDorisScript
2015-07-10 07:00:27 +00:00
MediumDorisScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x18a136
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 07:00:27 +00:00
TrainerPsychicJared:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_PSYCHIC_JARED, PSYCHIC_T, JARED, PsychicJaredSeenText, PsychicJaredBeatenText, 0, PsychicJaredScript
2015-07-10 07:00:27 +00:00
PsychicJaredScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x18a1b3
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 07:00:27 +00:00
SaffronGymGuyScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_BEAT_SABRINA
iftrue .SaffronGymGuyWinScript
2015-01-20 08:01:23 +00:00
writetext SaffronGymGuyText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.SaffronGymGuyWinScript:
2015-01-20 08:01:23 +00:00
writetext SaffronGymGuyWinText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-25 03:51:36 +00:00
SaffronGymStatue:
checkflag ENGINE_MARSHBADGE
iftrue .Beaten
2015-06-25 01:26:24 +00:00
jumpstd gymstatue1
.Beaten:
trainertotext SABRINA, 1, $1
2015-06-25 01:26:24 +00:00
jumpstd gymstatue2
2015-07-10 07:00:27 +00:00
UnknownText_0x189cdf:
text "SABRINA: I knew"
line "you were coming…"
para "Three years ago I"
line "had a vision of"
cont "your arrival."
para "You're after my"
line "BADGE."
para "I don't enjoy bat-"
line "tling, but it's my"
para "duty as a LEADER"
line "to confer BADGES"
para "on anyone who has"
line "proven him- or"
cont "herself worthy."
para "Since you wish it,"
line "I will show you my"
cont "psychic powers!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x189df4:
text "SABRINA: Your"
line "power…"
para "It far exceeds"
line "what I foresaw…"
para "Maybe it isn't"
line "possible to fully"
para "predict what the"
line "future holds…"
para "OK, you win. You"
line "earned yourself"
cont "MARSHBADGE."
done
2015-07-10 07:00:27 +00:00
UnknownText_0x189e95:
text "<PLAYER> received"
line "MARSHBADGE."
done
2015-07-10 07:00:27 +00:00
UnknownText_0x189ead:
text "SABRINA: MARSH-"
line "BADGE draws out"
para "your subliminal"
line "powers…"
para "Although I failed"
line "to accurately pre-"
cont "dict your power,"
cont "this much I know"
cont "to be true."
para "You will become a"
line "celebrated and"
cont "beloved CHAMPION!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x189f6c:
text "SABRINA: Your love"
line "for your #MON"
para "overwhelmed my"
line "psychic power…"
para "The power of love,"
line "I think, is also a"
para "kind of psychic"
line "power…"
done
2015-07-10 07:00:27 +00:00
MediumRebeccaSeenText:
text "The power of all"
line "those you defeated"
cont "comes to me!"
done
2015-07-10 07:00:27 +00:00
MediumRebeccaBeatenText:
text "Strong…"
line "Far too strong…"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x18a034:
text "What is the source"
line "of your power?"
done
2015-07-10 07:00:27 +00:00
PsychicFranklinSeenText:
text "Psychic power is"
line "the power of your"
cont "soul."
done
2015-07-10 07:00:27 +00:00
PsychicFranklinBeatenText:
text "Your soul has more"
line "power than mine!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x18a0a6:
text "You made your soul"
line "stronger, not just"
cont "your abilities."
done
2015-07-10 07:00:27 +00:00
MediumDorisSeenText:
text "Fufufufu…"
line "I see it clearly."
para "I can see into"
line "your soul!"
done
2015-07-10 07:00:27 +00:00
MediumDorisBeatenText:
text "Though I read you,"
line "I still lost…"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x18a136:
text "Darn! I forgot"
line "that I predicted I"
cont "would lose to you."
done
2015-07-10 07:00:27 +00:00
PsychicJaredSeenText:
text "The FIGHTING DOJO"
line "next door was once"
cont "this city's GYM."
done
2015-07-10 07:00:27 +00:00
PsychicJaredBeatenText:
text "I was no match…"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x18a1b3:
text "KARATE KING, the"
line "master of the"
para "FIGHTING DOJO, was"
line "just destroyed by"
cont "SABRINA."
done
2015-07-10 07:00:27 +00:00
SaffronGymGuyText:
text "Yo, CHAMP in"
line "making!"
para "A trainer as"
line "skilled as you"
para "doesn't need to be"
line "told how to deal"
para "with psychic-type"
line "#MON, right?"
para "I expect great"
line "things from you!"
para "Good luck!"
done
2015-07-10 07:00:27 +00:00
SaffronGymGuyWinText:
text "That was another"
line "fantastic battle!"
done
2015-07-10 07:00:27 +00:00
SaffronGym_MapEventHeader:
; filler
db 0, 0
.Warps:
db 32
warp_def $11, $8, 2, SAFFRON_CITY
warp_def $11, $9, 2, SAFFRON_CITY
warp_def $f, $b, 18, SAFFRON_GYM
warp_def $f, $13, 19, SAFFRON_GYM
warp_def $b, $13, 20, SAFFRON_GYM
warp_def $b, $1, 21, SAFFRON_GYM
warp_def $3, $5, 22, SAFFRON_GYM
warp_def $5, $b, 23, SAFFRON_GYM
warp_def $f, $1, 24, SAFFRON_GYM
warp_def $3, $13, 25, SAFFRON_GYM
warp_def $11, $f, 26, SAFFRON_GYM
warp_def $11, $5, 27, SAFFRON_GYM
warp_def $9, $5, 28, SAFFRON_GYM
warp_def $3, $9, 29, SAFFRON_GYM
warp_def $9, $f, 30, SAFFRON_GYM
warp_def $5, $f, 31, SAFFRON_GYM
warp_def $5, $1, 32, SAFFRON_GYM
warp_def $11, $13, 3, SAFFRON_GYM
warp_def $9, $13, 4, SAFFRON_GYM
warp_def $9, $1, 5, SAFFRON_GYM
warp_def $5, $5, 6, SAFFRON_GYM
warp_def $3, $b, 7, SAFFRON_GYM
warp_def $11, $1, 8, SAFFRON_GYM
warp_def $5, $13, 9, SAFFRON_GYM
warp_def $f, $f, 10, SAFFRON_GYM
warp_def $f, $5, 11, SAFFRON_GYM
warp_def $b, $5, 12, SAFFRON_GYM
warp_def $5, $9, 13, SAFFRON_GYM
warp_def $b, $f, 14, SAFFRON_GYM
warp_def $3, $f, 15, SAFFRON_GYM
warp_def $3, $1, 16, SAFFRON_GYM
warp_def $9, $b, 17, SAFFRON_GYM
.XYTriggers:
db 0
.Signposts:
db 1
signpost 15, 8, SIGNPOST_READ, SaffronGymStatue
.PersonEvents:
db 6
person_event SPRITE_SABRINA, 8, 9, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, SabrinaScript_0x189c2e, -1
person_event SPRITE_GRANNY, 16, 17, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_TRAINER, 3, TrainerMediumRebecca, -1
person_event SPRITE_YOUNGSTER, 16, 3, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 3, TrainerPsychicFranklin, -1
person_event SPRITE_GRANNY, 4, 3, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_TRAINER, 2, TrainerMediumDoris, -1
person_event SPRITE_YOUNGSTER, 4, 17, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 2, TrainerPsychicJared, -1
person_event SPRITE_GYM_GUY, 14, 9, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, SaffronGymGuyScript, -1