pokecrystal/maps/SaffronGym.asm

340 lines
7.2 KiB
NASM
Raw Normal View History

object_const_def
2015-11-27 05:22:14 +00:00
const SAFFRONGYM_SABRINA
const SAFFRONGYM_GRANNY1
const SAFFRONGYM_YOUNGSTER1
const SAFFRONGYM_GRANNY2
const SAFFRONGYM_YOUNGSTER2
2020-07-17 17:01:48 +00:00
const SAFFRONGYM_GYM_GUIDE
2015-11-27 05:22:14 +00:00
SaffronGym_MapScripts:
def_scene_scripts
def_callbacks
2018-02-28 21:50:43 +00:00
SaffronGymSabrinaScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2015-07-10 07:00:27 +00:00
checkflag ENGINE_MARSHBADGE
iftrue .FightDone
2018-08-19 17:56:41 +00:00
writetext SabrinaIntroText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2018-08-19 17:56:41 +00:00
winlosstext SabrinaWinLossText, 0
loadtrainer SABRINA, SABRINA1
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
2018-08-19 17:56:41 +00:00
writetext ReceivedMarshBadgeText
playsound SFX_GET_BADGE
2015-11-25 15:16:29 +00:00
waitsfx
2015-07-10 07:00:27 +00:00
setflag ENGINE_MARSHBADGE
2018-08-19 17:56:41 +00:00
writetext SabrinaMarshBadgeText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.FightDone:
2018-08-19 17:56:41 +00:00
writetext SabrinaFightDoneText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 07:00:27 +00:00
TrainerMediumRebecca:
trainer MEDIUM, REBECCA, EVENT_BEAT_MEDIUM_REBECCA, MediumRebeccaSeenText, MediumRebeccaBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2018-02-03 02:09:17 +00:00
endifjustbattled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext MediumRebeccaAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 07:00:27 +00:00
TrainerPsychicFranklin:
trainer PSYCHIC_T, FRANKLIN, EVENT_BEAT_PSYCHIC_FRANKLIN, PsychicFranklinSeenText, PsychicFranklinBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2018-02-03 02:09:17 +00:00
endifjustbattled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext PsychicFranklinAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 07:00:27 +00:00
TrainerMediumDoris:
trainer MEDIUM, DORIS, EVENT_BEAT_MEDIUM_DORIS, MediumDorisSeenText, MediumDorisBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2018-02-03 02:09:17 +00:00
endifjustbattled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext MediumDorisAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 07:00:27 +00:00
TrainerPsychicJared:
trainer PSYCHIC_T, JARED, EVENT_BEAT_PSYCHIC_JARED, PsychicJaredSeenText, PsychicJaredBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2018-02-03 02:09:17 +00:00
endifjustbattled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext PsychicJaredAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2020-07-17 17:01:48 +00:00
SaffronGymGuideScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_BEAT_SABRINA
2020-07-17 17:01:48 +00:00
iftrue .SaffronGymGuideWinScript
writetext SaffronGymGuideText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2020-07-17 17:01:48 +00:00
.SaffronGymGuideWinScript:
writetext SaffronGymGuideWinText
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
jumpstd GymStatue1Script
.Beaten:
gettrainername STRING_BUFFER_4, SABRINA, SABRINA1
jumpstd GymStatue2Script
2018-08-19 17:56:41 +00:00
SabrinaIntroText:
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
2018-08-19 17:56:41 +00:00
SabrinaWinLossText:
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
2018-08-19 17:56:41 +00:00
ReceivedMarshBadgeText:
text "<PLAYER> received"
line "MARSHBADGE."
done
2018-08-19 17:56:41 +00:00
SabrinaMarshBadgeText:
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
2018-08-19 17:56:41 +00:00
SabrinaFightDoneText:
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
2017-12-10 20:36:58 +00:00
MediumRebeccaAfterBattleText:
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
2017-12-10 20:36:58 +00:00
PsychicFranklinAfterBattleText:
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
2017-12-10 20:36:58 +00:00
MediumDorisAfterBattleText:
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
2017-12-10 20:36:58 +00:00
PsychicJaredAfterBattleText:
text "KARATE KING, the"
line "master of the"
para "FIGHTING DOJO, was"
line "just destroyed by"
cont "SABRINA."
done
2020-07-17 17:01:48 +00:00
SaffronGymGuideText:
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
2020-07-17 17:01:48 +00:00
SaffronGymGuideWinText:
text "That was another"
line "fantastic battle!"
done
SaffronGym_MapEvents:
db 0, 0 ; filler
def_warp_events
2018-02-02 03:22:07 +00:00
warp_event 8, 17, SAFFRON_CITY, 2
warp_event 9, 17, SAFFRON_CITY, 2
2018-02-02 02:54:00 +00:00
warp_event 11, 15, SAFFRON_GYM, 18
warp_event 19, 15, SAFFRON_GYM, 19
warp_event 19, 11, SAFFRON_GYM, 20
2018-02-02 03:22:07 +00:00
warp_event 1, 11, SAFFRON_GYM, 21
warp_event 5, 3, SAFFRON_GYM, 22
warp_event 11, 5, SAFFRON_GYM, 23
warp_event 1, 15, SAFFRON_GYM, 24
warp_event 19, 3, SAFFRON_GYM, 25
2018-02-02 02:54:00 +00:00
warp_event 15, 17, SAFFRON_GYM, 26
2018-02-02 03:22:07 +00:00
warp_event 5, 17, SAFFRON_GYM, 27
warp_event 5, 9, SAFFRON_GYM, 28
warp_event 9, 3, SAFFRON_GYM, 29
warp_event 15, 9, SAFFRON_GYM, 30
warp_event 15, 5, SAFFRON_GYM, 31
warp_event 1, 5, SAFFRON_GYM, 32
2018-02-02 02:54:00 +00:00
warp_event 19, 17, SAFFRON_GYM, 3
2018-02-02 03:22:07 +00:00
warp_event 19, 9, SAFFRON_GYM, 4
warp_event 1, 9, SAFFRON_GYM, 5
warp_event 5, 5, SAFFRON_GYM, 6
warp_event 11, 3, SAFFRON_GYM, 7
warp_event 1, 17, SAFFRON_GYM, 8
warp_event 19, 5, SAFFRON_GYM, 9
2018-02-02 02:54:00 +00:00
warp_event 15, 15, SAFFRON_GYM, 10
2018-02-02 03:22:07 +00:00
warp_event 5, 15, SAFFRON_GYM, 11
warp_event 5, 11, SAFFRON_GYM, 12
warp_event 9, 5, SAFFRON_GYM, 13
2018-02-02 02:54:00 +00:00
warp_event 15, 11, SAFFRON_GYM, 14
2018-02-02 03:22:07 +00:00
warp_event 15, 3, SAFFRON_GYM, 15
warp_event 1, 3, SAFFRON_GYM, 16
warp_event 11, 9, SAFFRON_GYM, 17
def_coord_events
def_bg_events
2018-02-02 03:22:07 +00:00
bg_event 8, 15, BGEVENT_READ, SaffronGymStatue
def_object_events
2018-02-28 21:50:43 +00:00
object_event 9, 8, SPRITE_SABRINA, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, SaffronGymSabrinaScript, -1
object_event 17, 16, SPRITE_GRANNY, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerMediumRebecca, -1
2018-02-02 03:22:07 +00:00
object_event 3, 16, SPRITE_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerPsychicFranklin, -1
object_event 3, 4, SPRITE_GRANNY, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 2, TrainerMediumDoris, -1
object_event 17, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 2, TrainerPsychicJared, -1
2020-07-17 17:01:48 +00:00
object_event 9, 14, SPRITE_GYM_GUIDE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SaffronGymGuideScript, -1