pokecrystal/maps/BlackthornGym2F.asm

156 lines
3.4 KiB
NASM
Raw Normal View History

2015-06-26 05:30:16 +00:00
BlackthornGym2F_MapScriptHeader:
; trigger count
db 0
; callback count
db 1
; callbacks
2015-06-26 05:30:16 +00:00
dbw 3, .Boulders
2015-06-26 05:30:16 +00:00
.Boulders
writecmdqueue .BoulderCmdQueue
return
2015-06-26 05:30:16 +00:00
.BoulderCmdQueue
dbw 2, .BoulderTable ; check if any stones are sitting on a warp
2013-05-01 03:05:52 +00:00
db 0, 0 ; filler
2015-06-26 05:30:16 +00:00
.BoulderTable
2013-05-01 03:05:52 +00:00
db 5, 4 ; warp, person
2015-06-26 05:30:16 +00:00
dw .Disappear4
2013-05-01 03:05:52 +00:00
db 3, 5 ; warp, person
2015-06-26 05:30:16 +00:00
dw .Disappear5
2013-05-01 03:05:52 +00:00
db 4, 6 ; warp, person
2015-06-26 05:30:16 +00:00
dw .Disappear6
2013-05-01 03:05:52 +00:00
db $ff ; end
2015-06-26 05:30:16 +00:00
.Disappear4
2013-05-01 03:05:52 +00:00
disappear 4
2015-06-26 05:30:16 +00:00
jump .Fall
2013-05-01 03:05:52 +00:00
2015-06-26 05:30:16 +00:00
.Disappear5
2013-05-01 03:05:52 +00:00
disappear 5
2015-06-26 05:30:16 +00:00
jump .Fall
2013-05-01 03:05:52 +00:00
2015-06-26 05:30:16 +00:00
.Disappear6
2013-05-01 03:05:52 +00:00
disappear 6
2015-06-26 05:30:16 +00:00
jump .Fall
2013-05-01 03:05:52 +00:00
2015-06-26 05:30:16 +00:00
.Fall
2013-05-01 03:05:52 +00:00
pause 30
2015-06-26 05:30:16 +00:00
scall .FX
2013-05-01 03:05:52 +00:00
loadfont
2015-06-26 05:30:16 +00:00
writetext BlackthornGym2FBoulderFellText
2013-05-01 03:05:52 +00:00
closetext
loadmovesprites
end
2015-06-26 05:30:16 +00:00
.FX
playsound SFX_STRENGTH
2013-05-01 03:05:52 +00:00
earthquake 80
end
2015-06-26 04:01:08 +00:00
BlackthornGymBoulder:
2015-06-23 21:02:58 +00:00
jumpstd strengthboulder
2015-06-26 05:30:16 +00:00
TrainerCooltrainermCody:
trainer EVENT_BEAT_COOLTRAINERM_CODY, COOLTRAINERM, CODY, CooltrainermCodySeenText, CooltrainermCodyBeatenText, $0000, CooltrainermCodyScript
2015-06-26 05:30:16 +00:00
CooltrainermCodyScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1957d5
closetext
loadmovesprites
end
2015-06-26 05:30:16 +00:00
TrainerCooltrainerfFran:
trainer EVENT_BEAT_COOLTRAINERF_FRAN, COOLTRAINERF, FRAN, CooltrainerfFranSeenText, CooltrainerfFranBeatenText, $0000, CooltrainerfFranScript
2015-06-26 05:30:16 +00:00
CooltrainerfFranScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x195883
closetext
loadmovesprites
end
2015-06-26 05:30:16 +00:00
CooltrainermCodySeenText:
text "It's not as if we"
line "all use dragon-"
cont "type #MON."
done
2015-06-26 05:30:16 +00:00
CooltrainermCodyBeatenText:
text "Rats! If only I"
line "had a dragon!"
done
2015-06-26 05:30:16 +00:00
UnknownText_0x1957d5:
text "Members of our"
line "dragon-user clan"
para "can use dragon"
line "#MON only after"
para "our MASTER allows"
line "it."
done
2015-06-26 05:30:16 +00:00
CooltrainerfFranSeenText:
text "I can't allow a"
line "nameless trainer"
cont "past me!"
para "CLAIR would be"
line "livid if I did!"
done
2015-06-26 05:30:16 +00:00
CooltrainerfFranBeatenText:
text "Awww… I lost…"
done
2015-06-26 05:30:16 +00:00
UnknownText_0x195883:
text "Uh-oh… CLAIR is"
line "going to be mad…"
done
2015-06-26 05:30:16 +00:00
BlackthornGym2FBoulderFellText:
text "The boulder fell"
line "through!"
done
2015-06-26 05:30:16 +00:00
BlackthornGym2F_MapEventHeader:
; filler
db 0, 0
; warps
db 5
warp_def $7, $1, 3, GROUP_BLACKTHORN_GYM_1F, MAP_BLACKTHORN_GYM_1F
warp_def $9, $7, 4, GROUP_BLACKTHORN_GYM_1F, MAP_BLACKTHORN_GYM_1F
warp_def $5, $2, 5, GROUP_BLACKTHORN_GYM_1F, MAP_BLACKTHORN_GYM_1F
warp_def $7, $8, 6, GROUP_BLACKTHORN_GYM_1F, MAP_BLACKTHORN_GYM_1F
warp_def $3, $8, 7, GROUP_BLACKTHORN_GYM_1F, MAP_BLACKTHORN_GYM_1F
; xy triggers
db 0
; signposts
db 0
; people-events
db 8
person_event SPRITE_COOLTRAINER_M, 5, 8, LEFT << 2 | $1, $0, -1, -1, (PAL_OW_RED << 4) | $82, 1, TrainerCooltrainermCody, -1
person_event SPRITE_COOLTRAINER_F, 15, 8, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_RED << 4) | $82, 1, TrainerCooltrainerfFran, -1
person_event SPRITE_BOULDER, 6, 12, LEFT << 2 | $11, $0, -1, -1, $0, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_1
person_event SPRITE_BOULDER, 7, 6, LEFT << 2 | $11, $0, -1, -1, $0, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_2
person_event SPRITE_BOULDER, 20, 10, LEFT << 2 | $11, $0, -1, -1, $0, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_3
person_event SPRITE_BOULDER, 7, 7, LEFT << 2 | $11, $0, -1, -1, $0, 0, BlackthornGymBoulder, -1
person_event SPRITE_BOULDER, 5, 10, LEFT << 2 | $11, $0, -1, -1, $0, 0, BlackthornGymBoulder, -1
person_event SPRITE_BOULDER, 18, 12, LEFT << 2 | $11, $0, -1, -1, $0, 0, BlackthornGymBoulder, -1