pokecrystal/maps/CianwoodGym.asm

325 lines
6.3 KiB
NASM
Raw Normal View History

2015-07-10 07:00:27 +00:00
CianwoodGym_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 07:00:27 +00:00
ChuckScript_0x9d60f:
faceplayer
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_BEAT_CHUCK
2015-07-10 07:00:27 +00:00
iftrue .FightDone
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d6f9
closetext
loadmovesprites
spriteface $2, RIGHT
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d76f
closetext
loadmovesprites
applymovement $7, MovementData_0x9d6f3
playsound SFX_STRENGTH
earthquake 80
disappear $7
pause 30
faceplayer
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d78a
closetext
loadmovesprites
winlosstext UnknownText_0x9d7f6, $0000
loadtrainer CHUCK, 1
startbattle
returnafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_BEAT_CHUCK
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d835
playsound SFX_GET_BADGE
waitbutton
2015-07-10 07:00:27 +00:00
setflag ENGINE_STORMBADGE
checkcode VAR_BADGES
2015-07-10 07:00:27 +00:00
scall CianwoodGymTriggerRockets
.FightDone
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_TM01_DYNAMICPUNCH
iftrue UnknownScript_0x9d67b
2013-09-24 07:48:58 +00:00
setevent EVENT_BEAT_BLACKBELT_YOSHI
setevent EVENT_BEAT_BLACKBELT_LAO
setevent EVENT_BEAT_BLACKBELT_NOB
setevent EVENT_BEAT_BLACKBELT_LUNG
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d84d
keeptextopen
verbosegiveitem TM_DYNAMICPUNCH, 1
iffalse UnknownScript_0x9d67f
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_TM01_DYNAMICPUNCH
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d8da
closetext
loadmovesprites
end
2015-07-10 07:00:27 +00:00
UnknownScript_0x9d67b:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d930
closetext
2015-07-10 07:00:27 +00:00
UnknownScript_0x9d67f:
loadmovesprites
end
2015-07-10 07:00:27 +00:00
CianwoodGymTriggerRockets:
if_equal 7, .RadioTowerRockets
if_equal 6, .GoldenrodRockets
end
2015-07-10 07:00:27 +00:00
.GoldenrodRockets
2015-06-25 01:26:24 +00:00
jumpstd goldenrodrockets
2015-07-10 07:00:27 +00:00
.RadioTowerRockets
2015-06-25 01:26:24 +00:00
jumpstd radiotowerrockets
2015-07-10 07:00:27 +00:00
TrainerBlackbeltYoshi:
trainer EVENT_BEAT_BLACKBELT_YOSHI, BLACKBELT_T, YOSHI, BlackbeltYoshiSeenText, BlackbeltYoshiBeatenText, $0000, BlackbeltYoshiScript
2015-07-10 07:00:27 +00:00
BlackbeltYoshiScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d9fa
closetext
loadmovesprites
end
2015-07-10 07:00:27 +00:00
TrainerBlackbeltLao:
trainer EVENT_BEAT_BLACKBELT_LAO, BLACKBELT_T, LAO, BlackbeltLaoSeenText, BlackbeltLaoBeatenText, $0000, BlackbeltLaoScript
2015-07-10 07:00:27 +00:00
BlackbeltLaoScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9da61
closetext
loadmovesprites
end
2015-07-10 07:00:27 +00:00
TrainerBlackbeltNob:
trainer EVENT_BEAT_BLACKBELT_NOB, BLACKBELT_T, NOB, BlackbeltNobSeenText, BlackbeltNobBeatenText, $0000, BlackbeltNobScript
2015-07-10 07:00:27 +00:00
BlackbeltNobScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9dac0
closetext
loadmovesprites
end
2015-07-10 07:00:27 +00:00
TrainerBlackbeltLung:
trainer EVENT_BEAT_BLACKBELT_LUNG, BLACKBELT_T, LUNG, BlackbeltLungSeenText, BlackbeltLungBeatenText, $0000, BlackbeltLungScript
2015-07-10 07:00:27 +00:00
BlackbeltLungScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9db14
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
CianwoodGymBoulder:
2015-06-23 21:02:58 +00:00
jumpstd strengthboulder
2015-06-25 03:51:36 +00:00
CianwoodGymStatue:
checkflag ENGINE_STORMBADGE
iftrue .Beaten
2015-06-25 01:26:24 +00:00
jumpstd gymstatue1
2015-06-25 03:51:36 +00:00
.Beaten
trainertotext CHUCK, 1, $1
2015-06-25 01:26:24 +00:00
jumpstd gymstatue2
2015-07-10 07:00:27 +00:00
MovementData_0x9d6f3:
db $39 ; movement
big_step_left
big_step_up
fast_jump_step_right
db $38 ; movement
step_end
2015-07-10 07:00:27 +00:00
UnknownText_0x9d6f9:
text "WAHAHAH!"
para "So you've come"
line "this far!"
para "Let me tell you,"
line "I'm tough!"
para "My #MON will"
line "crush stones and"
cont "shatter bones!"
para "Watch this!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x9d76f:
text "CHUCK: Urggh!"
line "…"
para "Oooarrgh!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x9d78a:
text "There! Scared now,"
line "are you?"
para "What?"
line "It has nothing to"
para "do with #MON?"
line "That's true!"
para "Come on. We shall"
line "do battle!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x9d7f6:
text "Wha? Huh?"
line "I lost?"
para "How about that!"
line "You're worthy of"
cont "STORMBADGE!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x9d835:
text "<PLAYER> received"
line "STORMBADGE."
done
2015-07-10 07:00:27 +00:00
UnknownText_0x9d84d:
text "STORMBADGE makes"
line "all #MON up to"
para "L70 obey, even"
line "traded ones."
para "It also lets your"
line "#MON use FLY"
para "when you're not in"
line "a battle."
para "Here, take this"
line "too!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x9d8da:
text "That is DYNAMIC-"
line "PUNCH."
para "It doesn't always"
line "hit, but when it"
para "does, it causes"
line "confusion!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x9d930:
text "WAHAHAH! I enjoyed"
line "battling you!"
para "But a loss is a"
line "loss!"
para "From now on, I'm"
line "going to train 24"
cont "hours a day!"
done
2015-07-10 07:00:27 +00:00
BlackbeltYoshiSeenText:
text "My #MON and I"
line "are bound togeth-"
cont "er by friendship."
para "Our bond will"
line "never be broken!"
done
2015-07-10 07:00:27 +00:00
BlackbeltYoshiBeatenText:
text "This isn't real!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x9d9fa:
text "You seem to have a"
line "strong bond with"
cont "your #MON too!"
done
2015-07-10 07:00:27 +00:00
BlackbeltLaoSeenText:
text "We martial artists"
line "fear nothing!"
done
2015-07-10 07:00:27 +00:00
BlackbeltLaoBeatenText:
text "That's shocking!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x9da61:
text "Fighting #MON"
line "are afraid of psy-"
cont "chics…"
done
2015-07-10 07:00:27 +00:00
BlackbeltNobSeenText:
text "Words are useless."
line "Let your fists do"
cont "the talking!"
done
2015-07-10 07:00:27 +00:00
BlackbeltNobBeatenText:
text "…"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x9dac0:
text "I lost! "
line "I'm speechless!"
done
2015-07-10 07:00:27 +00:00
BlackbeltLungSeenText:
text "My raging fists"
line "will shatter your"
cont "#MON!"
done
2015-07-10 07:00:27 +00:00
BlackbeltLungBeatenText:
text "I got shattered!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x9db14:
text "My #MON lost…"
line "My… my pride is"
cont "shattered…"
done
2015-07-10 07:00:27 +00:00
CianwoodGym_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $11, $4, 2, CIANWOOD_CITY
warp_def $11, $5, 2, CIANWOOD_CITY
.XYTriggers:
db 0
.Signposts:
db 2
signpost 15, 3, SIGNPOST_READ, CianwoodGymStatue
signpost 15, 6, SIGNPOST_READ, CianwoodGymStatue
.PersonEvents:
db 9
2015-10-24 14:34:19 +00:00
person_event SPRITE_CHUCK, 1, 4, $6, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 0, 0, ChuckScript_0x9d60f, -1
person_event SPRITE_BLACK_BELT, 12, 2, $9, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 2, 3, TrainerBlackbeltYoshi, -1
person_event SPRITE_BLACK_BELT, 12, 7, $8, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 2, 3, TrainerBlackbeltLao, -1
person_event SPRITE_BLACK_BELT, 9, 3, $9, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 2, 2, TrainerBlackbeltNob, -1
person_event SPRITE_BLACK_BELT, 5, 5, $8, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 2, 1, TrainerBlackbeltLung, -1
person_event SPRITE_BOULDER, 1, 5, $19, 0, 0, -1, -1, 0, 0, 0, CianwoodGymBoulder, -1
person_event SPRITE_BOULDER, 7, 3, $19, 0, 0, -1, -1, 0, 0, 0, CianwoodGymBoulder, -1
person_event SPRITE_BOULDER, 7, 4, $19, 0, 0, -1, -1, 0, 0, 0, CianwoodGymBoulder, -1
person_event SPRITE_BOULDER, 7, 5, $19, 0, 0, -1, -1, 0, 0, 0, CianwoodGymBoulder, -1