pokecrystal-board/maps/AzaleaGym.asm

461 lines
8.1 KiB
NASM
Raw Normal View History

2015-07-10 00:00:27 -07:00
AzaleaGym_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
2015-07-10 00:00:27 -07:00
BugsyScript_0x18ec1e:
faceplayer
loadfont
2013-09-24 00:48:58 -07:00
checkevent EVENT_BEAT_BUGSY
2015-07-10 00:00:27 -07:00
iftrue .FightDone
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18ed0b
closetext
loadmovesprites
winlosstext UnknownText_0x18edae, $0000
loadtrainer BUGSY, 1
startbattle
returnafterbattle
2013-09-24 00:48:58 -07:00
setevent EVENT_BEAT_BUGSY
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18ee14
playsound SFX_GET_BADGE
waitbutton
2015-07-10 00:00:27 -07:00
setflag ENGINE_HIVEBADGE
checkcode VAR_BADGES
2015-07-10 00:00:27 -07:00
scall AzaleaGymTriggerRockets
.FightDone
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_TM49_FURY_CUTTER
iftrue UnknownScript_0x18ec6d
2013-09-24 00:48:58 -07:00
setevent EVENT_BEAT_TWINS_AMY_AND_MAY
setevent EVENT_BEAT_BUG_CATCHER_BENNY
setevent EVENT_BEAT_BUG_CATCHER_AL
setevent EVENT_BEAT_BUG_CATCHER_JOSH
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18ee2b
keeptextopen
verbosegiveitem TM_FURY_CUTTER, 1
iffalse UnknownScript_0x18ec71
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_TM49_FURY_CUTTER
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18eefa
closetext
loadmovesprites
end
2015-07-10 00:00:27 -07:00
UnknownScript_0x18ec6d:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18ef98
closetext
2015-07-10 00:00:27 -07:00
UnknownScript_0x18ec71:
loadmovesprites
end
2015-07-10 00:00:27 -07:00
AzaleaGymTriggerRockets:
if_equal 7, .RadioTowerRockets
if_equal 6, .GoldenrodRockets
end
2015-07-10 00:00:27 -07:00
.GoldenrodRockets
2015-06-24 18:26:24 -07:00
jumpstd goldenrodrockets
2015-07-10 00:00:27 -07:00
.RadioTowerRockets
2015-06-24 18:26:24 -07:00
jumpstd radiotowerrockets
2015-07-10 00:00:27 -07:00
TrainerTwinsAmyandmay1:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_TWINS_AMY_AND_MAY
; trainer group && trainer id
db TWINS, AMYANDMAY1
; text when seen
dw TwinsAmyandmay1SeenText
; text when trainer beaten
dw TwinsAmyandmay1BeatenText
; script when lost
dw $0000
; script when talk again
dw TwinsAmyandmay1Script
2015-07-10 00:00:27 -07:00
TwinsAmyandmay1Script:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18f1fc
closetext
loadmovesprites
end
2015-07-10 00:00:27 -07:00
TrainerTwinsAmyandmay2:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_TWINS_AMY_AND_MAY
; trainer group && trainer id
db TWINS, AMYANDMAY2
; text when seen
dw TwinsAmyandmay2SeenText
; text when trainer beaten
dw TwinsAmyandmay2BeatenText
; script when lost
dw $0000
; script when talk again
dw TwinsAmyandmay2Script
2015-07-10 00:00:27 -07:00
TwinsAmyandmay2Script:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18f269
closetext
loadmovesprites
end
2015-07-10 00:00:27 -07:00
TrainerBug_catcherBug_catcher_benny:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_BUG_CATCHER_BENNY
; trainer group && trainer id
db BUG_CATCHER, BUG_CATCHER_BENNY
; text when seen
dw Bug_catcherBug_catcher_bennySeenText
; text when trainer beaten
dw Bug_catcherBug_catcher_bennyBeatenText
; script when lost
dw $0000
; script when talk again
dw Bug_catcherBug_catcher_bennyScript
2015-07-10 00:00:27 -07:00
Bug_catcherBug_catcher_bennyScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18f053
closetext
loadmovesprites
end
2015-07-10 00:00:27 -07:00
TrainerBug_catcherAl:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_BUG_CATCHER_AL
; trainer group && trainer id
db BUG_CATCHER, AL
; text when seen
dw Bug_catcherAlSeenText
; text when trainer beaten
dw Bug_catcherAlBeatenText
; script when lost
dw $0000
; script when talk again
dw Bug_catcherAlScript
2015-07-10 00:00:27 -07:00
Bug_catcherAlScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18f0d3
closetext
loadmovesprites
end
2015-07-10 00:00:27 -07:00
TrainerBug_catcherJosh:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_BUG_CATCHER_JOSH
; trainer group && trainer id
db BUG_CATCHER, JOSH
; text when seen
dw Bug_catcherJoshSeenText
; text when trainer beaten
dw Bug_catcherJoshBeatenText
; script when lost
dw $0000
; script when talk again
dw Bug_catcherJoshScript
2015-07-10 00:00:27 -07:00
Bug_catcherJoshScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18f17e
closetext
loadmovesprites
end
2015-07-10 00:00:27 -07:00
AzaleaGymGuyScript:
faceplayer
2013-09-24 00:48:58 -07:00
checkevent EVENT_BEAT_BUGSY
iftrue .AzaleaGymGuyWinScript
loadfont
2015-01-20 00:01:23 -08:00
writetext AzaleaGymGuyText
closetext
loadmovesprites
end
.AzaleaGymGuyWinScript
loadfont
2015-01-20 00:01:23 -08:00
writetext AzaleaGymGuyWinText
closetext
loadmovesprites
end
2015-06-24 20:51:36 -07:00
AzaleaGymStatue:
checkflag ENGINE_HIVEBADGE
iftrue .Beaten
2015-06-24 18:26:24 -07:00
jumpstd gymstatue1
2015-06-24 20:51:36 -07:00
.Beaten
trainertotext BUGSY, 1, $1
2015-06-24 18:26:24 -07:00
jumpstd gymstatue2
2015-07-10 00:00:27 -07:00
UnknownText_0x18ed0b:
text "I'm BUGSY!"
line "I never lose when"
para "it comes to bug"
line "#MON."
para "My research is"
line "going to make me"
para "the authority on"
line "bug #MON!"
para "Let me demonstrate"
line "what I've learned"
cont "from my studies."
done
2015-07-10 00:00:27 -07:00
UnknownText_0x18edae:
text "Whoa, amazing!"
line "You're an expert"
cont "on #MON!"
para "My research isn't"
line "complete yet."
para "OK, you win. Take"
line "this BADGE."
done
2015-07-10 00:00:27 -07:00
UnknownText_0x18ee14:
text "<PLAYER> received"
line "HIVEBADGE."
done
2015-07-10 00:00:27 -07:00
UnknownText_0x18ee2b:
text "Do you know the"
line "benefits of HIVE-"
cont "BADGE?"
para "If you have it,"
line "#MON up to L30"
para "will obey you,"
line "even traded ones."
para "#MON that know"
line "CUT will be able"
para "to use it outside"
line "of battle too."
para "Here, I also want"
line "you to have this."
done
2015-07-10 00:00:27 -07:00
UnknownText_0x18eefa:
text "TM49 contains"
line "FURY CUTTER."
para "If you don't miss,"
line "it gets stronger"
cont "every turn."
para "The longer your"
line "battle goes, the"
cont "better it gets."
para "Isn't that great?"
line "I discovered it!"
done
2015-07-10 00:00:27 -07:00
UnknownText_0x18ef98:
text "Bug #MON are"
line "deep. There are"
para "many mysteries to"
line "be explored."
para "Study your favor-"
line "ites thoroughly."
done
2015-07-10 00:00:27 -07:00
Bug_catcherBug_catcher_bennySeenText:
text "Bug #MON evolve"
line "young. So they get"
para "stronger that much"
line "faster."
done
2015-07-10 00:00:27 -07:00
Bug_catcherBug_catcher_bennyBeatenText:
text "Just evolving"
line "isn't enough!"
done
2015-07-10 00:00:27 -07:00
UnknownText_0x18f053:
text "#MON become"
line "stronger if they"
cont "evolve. Really!"
done
2015-07-10 00:00:27 -07:00
Bug_catcherAlSeenText:
text "Bug #MON are"
line "cool and tough!"
para "I'll prove it to"
line "you!"
done
2015-07-10 00:00:27 -07:00
Bug_catcherAlBeatenText:
text "You proved how"
line "tough you areā€¦"
done
2015-07-10 00:00:27 -07:00
UnknownText_0x18f0d3:
text "They're so cool,"
line "but most girls"
para "don't like bug"
line "#MON."
para "I don't know whyā€¦"
done
2015-07-10 00:00:27 -07:00
Bug_catcherJoshSeenText:
text "You saved all the"
line "SLOWPOKE? Whew,"
cont "you're mighty!"
para "But my grown-up"
line "#MON are pretty"
cont "tough too!"
done
2015-07-10 00:00:27 -07:00
Bug_catcherJoshBeatenText:
text "Urrgggh!"
done
2015-07-10 00:00:27 -07:00
UnknownText_0x18f17e:
text "I guess I should"
line "teach them better"
cont "movesā€¦"
done
2015-07-10 00:00:27 -07:00
TwinsAmyandmay1SeenText:
text "AMY: Hi! Are you"
line "challenging the"
cont "LEADER? No way!"
done
2015-07-10 00:00:27 -07:00
TwinsAmyandmay1BeatenText:
text "AMY & MAY: Oh,"
line "double goodness!"
done
2015-07-10 00:00:27 -07:00
UnknownText_0x18f1fc:
text "AMY: You're"
line "really strong!"
done
2015-07-10 00:00:27 -07:00
TwinsAmyandmay2SeenText:
text "MAY: You want to"
line "see the LEADER?"
cont "We come first!"
done
2015-07-10 00:00:27 -07:00
TwinsAmyandmay2BeatenText:
text "AMY & MAY: Oh,"
line "double goodness!"
done
2015-07-10 00:00:27 -07:00
UnknownText_0x18f269:
text "MAY: Our bug #-"
line "MON lost! Oh, what"
cont "a shame."
done
2015-07-10 00:00:27 -07:00
AzaleaGymGuyText:
text "Yo, challenger!"
para "BUGSY's young, but"
line "his knowledge of"
para "bug #MON is for"
line "real."
para "It's going to be"
line "tough without my"
cont "advice."
para "Let's seeā€¦ Bug"
line "#MON don't like"
cont "fire."
para "Flying-type moves"
line "are super-effec-"
cont "tive too."
done
2015-07-10 00:00:27 -07:00
AzaleaGymGuyWinText:
text "Well done! That"
line "was a great clash"
para "of talented young"
line "trainers."
para "With people like"
line "you, the future of"
cont "#MON is bright!"
done
2015-07-10 00:00:27 -07:00
AzaleaGym_MapEventHeader:
; filler
db 0, 0
; warps
db 2
warp_def $f, $4, 5, GROUP_AZALEA_TOWN, MAP_AZALEA_TOWN
warp_def $f, $5, 5, GROUP_AZALEA_TOWN, MAP_AZALEA_TOWN
; xy triggers
db 0
; signposts
db 2
2015-06-24 20:51:36 -07:00
signpost 13, 3, $0, AzaleaGymStatue
signpost 13, 6, $0, AzaleaGymStatue
; people-events
db 7
2015-07-12 21:16:35 -07:00
person_event SPRITE_BUGSY, 11, 9, $3, $0, 255, 255, $a0, 0, BugsyScript_0x18ec1e, -1
person_event SPRITE_BUG_CATCHER, 7, 9, $a, $0, 255, 255, $b2, 2, TrainerBug_catcherBug_catcher_benny, -1
person_event SPRITE_BUG_CATCHER, 12, 12, $6, $0, 255, 255, $b2, 3, TrainerBug_catcherAl, -1
person_event SPRITE_BUG_CATCHER, 6, 4, $6, $0, 255, 255, $b2, 3, TrainerBug_catcherJosh, -1
person_event SPRITE_TWIN, 14, 8, $6, $0, 255, 255, $82, 1, TrainerTwinsAmyandmay1, -1
person_event SPRITE_TWIN, 14, 9, $6, $0, 255, 255, $82, 1, TrainerTwinsAmyandmay2, -1
person_event SPRITE_GYM_GUY, 17, 11, $6, $0, 255, 255, $80, 0, AzaleaGymGuyScript, -1