pokecrystal-board/maps/BlackthornGym2F.asm

158 lines
3.9 KiB
NASM
Raw Normal View History

2015-11-27 00:22:14 -05:00
const_value set 2
const BLACKTHORNGYM2F_COOLTRAINER_M
const BLACKTHORNGYM2F_COOLTRAINER_F
const BLACKTHORNGYM2F_BOULDER1
const BLACKTHORNGYM2F_BOULDER2
const BLACKTHORNGYM2F_BOULDER3
const BLACKTHORNGYM2F_BOULDER4
const BLACKTHORNGYM2F_BOULDER5
const BLACKTHORNGYM2F_BOULDER6
2015-06-25 23:30:16 -06:00
BlackthornGym2F_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 1
2016-01-06 16:59:56 -05:00
dbw MAPCALLBACK_CMDQUEUE, .Boulders
.Boulders:
2015-06-25 23:30:16 -06:00
writecmdqueue .BoulderCmdQueue
return
.BoulderCmdQueue:
dbw CMDQUEUE_STONETABLE, .BoulderTable ; check if any stones are sitting on a warp
dw 0 ; filler
2013-04-30 23:05:52 -04:00
.BoulderTable:
2015-12-15 10:55:56 -05:00
stonetable 5, BLACKTHORNGYM2F_BOULDER1, .Disappear4
stonetable 3, BLACKTHORNGYM2F_BOULDER2, .Disappear5
stonetable 4, BLACKTHORNGYM2F_BOULDER3, .Disappear6
db -1 ; end
2013-04-30 23:05:52 -04:00
.Disappear4:
2015-11-27 00:22:14 -05:00
disappear BLACKTHORNGYM2F_BOULDER1
2015-06-25 23:30:16 -06:00
jump .Fall
2013-04-30 23:05:52 -04:00
.Disappear5:
2015-11-27 00:22:14 -05:00
disappear BLACKTHORNGYM2F_BOULDER2
2015-06-25 23:30:16 -06:00
jump .Fall
2013-04-30 23:05:52 -04:00
.Disappear6:
2015-11-27 00:22:14 -05:00
disappear BLACKTHORNGYM2F_BOULDER3
2015-06-25 23:30:16 -06:00
jump .Fall
2013-04-30 23:05:52 -04:00
.Fall:
2013-04-30 23:05:52 -04:00
pause 30
2015-06-25 23:30:16 -06:00
scall .FX
2015-12-09 18:25:44 -05:00
opentext
2015-06-25 23:30:16 -06:00
writetext BlackthornGym2FBoulderFellText
2015-11-25 10:16:29 -05:00
waitbutton
2013-04-30 23:05:52 -04:00
closetext
end
.FX:
playsound SFX_STRENGTH
2013-04-30 23:05:52 -04:00
earthquake 80
end
2015-06-25 22:01:08 -06:00
BlackthornGymBoulder:
2015-06-23 15:02:58 -06:00
jumpstd strengthboulder
2015-06-25 23:30:16 -06:00
TrainerCooltrainermCody:
2017-12-17 20:45:04 -05:00
trainer EVENT_BEAT_COOLTRAINERM_CODY, COOLTRAINERM, CODY, CooltrainermCodySeenText, CooltrainermCodyBeatenText, 0, .Script
2017-12-17 20:45:04 -05:00
.Script:
2015-11-25 10:16:29 -05:00
end_if_just_battled
2015-12-09 18:25:44 -05:00
opentext
2017-12-10 15:36:58 -05:00
writetext CooltrainermCodyAfterBattleText
2015-11-25 10:16:29 -05:00
waitbutton
closetext
end
2015-06-25 23:30:16 -06:00
TrainerCooltrainerfFran:
2017-12-17 20:45:04 -05:00
trainer EVENT_BEAT_COOLTRAINERF_FRAN, COOLTRAINERF, FRAN, CooltrainerfFranSeenText, CooltrainerfFranBeatenText, 0, .Script
2017-12-17 20:45:04 -05:00
.Script:
2015-11-25 10:16:29 -05:00
end_if_just_battled
2015-12-09 18:25:44 -05:00
opentext
2017-12-10 15:36:58 -05:00
writetext CooltrainerfFranAfterBattleText
2015-11-25 10:16:29 -05:00
waitbutton
closetext
end
2015-06-25 23:30:16 -06:00
CooltrainermCodySeenText:
text "It's not as if we"
line "all use dragon-"
cont "type #MON."
done
2015-06-25 23:30:16 -06:00
CooltrainermCodyBeatenText:
text "Rats! If only I"
line "had a dragon!"
done
2017-12-10 15:36:58 -05:00
CooltrainermCodyAfterBattleText:
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-25 23:30:16 -06: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-25 23:30:16 -06:00
CooltrainerfFranBeatenText:
text "Awww… I lost…"
done
2017-12-10 15:36:58 -05:00
CooltrainerfFranAfterBattleText:
text "Uh-oh… CLAIR is"
line "going to be mad…"
done
2015-06-25 23:30:16 -06:00
BlackthornGym2FBoulderFellText:
text "The boulder fell"
line "through!"
done
2015-06-25 23:30:16 -06:00
BlackthornGym2F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 5
warp_def 1, 7, 3, BLACKTHORN_GYM_1F
warp_def 7, 9, 4, BLACKTHORN_GYM_1F
warp_def 2, 5, 5, BLACKTHORN_GYM_1F ; hole
warp_def 8, 7, 6, BLACKTHORN_GYM_1F ; hole
warp_def 8, 3, 7, BLACKTHORN_GYM_1F ; hole
.CoordEvents:
db 0
.BGEvents:
db 0
.ObjectEvents:
db 8
object_event 4, 1, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerCooltrainermCody, -1
object_event 4, 11, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerCooltrainerfFran, -1
object_event 8, 2, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_1
object_event 2, 3, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_2
object_event 6, 16, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_3
object_event 3, 3, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornGymBoulder, -1
object_event 6, 1, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornGymBoulder, -1
object_event 8, 14, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornGymBoulder, -1