2015-06-25 22:30:16 -07:00
|
|
|
BlackthornGym2F_MapScriptHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
2015-06-25 22:30:16 -07:00
|
|
|
dbw 3, .Boulders
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
.Boulders
|
|
|
|
writecmdqueue .BoulderCmdQueue
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
.BoulderCmdQueue
|
|
|
|
dbw 2, .BoulderTable ; check if any stones are sitting on a warp
|
2013-04-30 20:05:52 -07:00
|
|
|
db 0, 0 ; filler
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
.BoulderTable
|
2013-04-30 20:05:52 -07:00
|
|
|
db 5, 4 ; warp, person
|
2015-06-25 22:30:16 -07:00
|
|
|
dw .Disappear4
|
2013-04-30 20:05:52 -07:00
|
|
|
|
|
|
|
db 3, 5 ; warp, person
|
2015-06-25 22:30:16 -07:00
|
|
|
dw .Disappear5
|
2013-04-30 20:05:52 -07:00
|
|
|
|
|
|
|
db 4, 6 ; warp, person
|
2015-06-25 22:30:16 -07:00
|
|
|
dw .Disappear6
|
2013-04-30 20:05:52 -07:00
|
|
|
|
|
|
|
db $ff ; end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
.Disappear4
|
2013-04-30 20:05:52 -07:00
|
|
|
disappear 4
|
2015-06-25 22:30:16 -07:00
|
|
|
jump .Fall
|
2013-04-30 20:05:52 -07:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
.Disappear5
|
2013-04-30 20:05:52 -07:00
|
|
|
disappear 5
|
2015-06-25 22:30:16 -07:00
|
|
|
jump .Fall
|
2013-04-30 20:05:52 -07:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
.Disappear6
|
2013-04-30 20:05:52 -07:00
|
|
|
disappear 6
|
2015-06-25 22:30:16 -07:00
|
|
|
jump .Fall
|
2013-04-30 20:05:52 -07:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
.Fall
|
2013-04-30 20:05:52 -07:00
|
|
|
pause 30
|
2015-06-25 22:30:16 -07:00
|
|
|
scall .FX
|
2013-04-30 20:05:52 -07:00
|
|
|
loadfont
|
2015-06-25 22:30:16 -07:00
|
|
|
writetext BlackthornGym2FBoulderFellText
|
2013-04-30 20:05:52 -07:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
.FX
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_STRENGTH
|
2013-04-30 20:05:52 -07:00
|
|
|
earthquake 80
|
|
|
|
end
|
|
|
|
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
BlackthornGymBoulder:
|
2015-06-23 14:02:58 -07:00
|
|
|
jumpstd strengthboulder
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
TrainerCooltrainermCody:
|
2013-02-16 22:54:07 -08:00
|
|
|
; bit/flag number
|
2015-07-10 01:20:21 -07:00
|
|
|
dw EVENT_BEAT_COOLTRAINERM_CODY
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db COOLTRAINERM, CODY
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw CooltrainermCodySeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw CooltrainermCodyBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw CooltrainermCodyScript
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
CooltrainermCodyScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1957d5
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
TrainerCooltrainerfFran:
|
2013-02-16 22:54:07 -08:00
|
|
|
; bit/flag number
|
2015-07-10 01:20:21 -07:00
|
|
|
dw EVENT_BEAT_COOLTRAINERF_FRAN
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db COOLTRAINERF, FRAN
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw CooltrainerfFranSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw CooltrainerfFranBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw CooltrainerfFranScript
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
CooltrainerfFranScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x195883
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
CooltrainermCodySeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's not as if we"
|
|
|
|
line "all use dragon-"
|
|
|
|
cont "type #MON."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
CooltrainermCodyBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Rats! If only I"
|
|
|
|
line "had a dragon!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x1957d5:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Members of our"
|
|
|
|
line "dragon-user clan"
|
|
|
|
|
|
|
|
para "can use dragon"
|
|
|
|
line "#MON only after"
|
|
|
|
|
|
|
|
para "our MASTER allows"
|
|
|
|
line "it."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
CooltrainerfFranSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I can't allow a"
|
|
|
|
line "nameless trainer"
|
|
|
|
cont "past me!"
|
|
|
|
|
|
|
|
para "CLAIR would be"
|
|
|
|
line "livid if I did!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
CooltrainerfFranBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Awww… I lost…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x195883:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Uh-oh… CLAIR is"
|
|
|
|
line "going to be mad…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
BlackthornGym2FBoulderFellText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The boulder fell"
|
|
|
|
line "through!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
BlackthornGym2F_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; 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
|
2015-07-12 21:27:45 -07:00
|
|
|
person_event SPRITE_COOLTRAINER_M, 5, 8, $9, $0, 255, 255, $82, 1, TrainerCooltrainermCody, -1
|
|
|
|
person_event SPRITE_COOLTRAINER_F, 15, 8, $8, $0, 255, 255, $82, 1, TrainerCooltrainerfFran, -1
|
2015-06-25 22:30:16 -07:00
|
|
|
person_event SPRITE_BOULDER, 6, 12, $19, $0, 255, 255, $0, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_1
|
|
|
|
person_event SPRITE_BOULDER, 7, 6, $19, $0, 255, 255, $0, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_2
|
|
|
|
person_event SPRITE_BOULDER, 20, 10, $19, $0, 255, 255, $0, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_3
|
2015-07-12 21:27:45 -07:00
|
|
|
person_event SPRITE_BOULDER, 7, 7, $19, $0, 255, 255, $0, 0, BlackthornGymBoulder, -1
|
|
|
|
person_event SPRITE_BOULDER, 5, 10, $19, $0, 255, 255, $0, 0, BlackthornGymBoulder, -1
|
|
|
|
person_event SPRITE_BOULDER, 18, 12, $19, $0, 255, 255, $0, 0, BlackthornGymBoulder, -1
|