pokecrystal-board/maps/UnionCaveB1F.asm

182 lines
4.1 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const UNIONCAVEB1F_POKEFAN_M1
const UNIONCAVEB1F_POKEFAN_M2
const UNIONCAVEB1F_SUPER_NERD1
const UNIONCAVEB1F_SUPER_NERD2
const UNIONCAVEB1F_POKE_BALL1
const UNIONCAVEB1F_BOULDER
const UNIONCAVEB1F_POKE_BALL2
2015-07-10 01:20:21 -07:00
UnionCaveB1F_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
2015-07-10 01:20:21 -07:00
TrainerPokemaniacAndrew:
2017-12-17 17:45:04 -08:00
trainer EVENT_BEAT_POKEMANIAC_ANDREW, POKEMANIAC, ANDREW, PokemaniacAndrewSeenText, PokemaniacAndrewBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext PokemaniacAndrewAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerPokemaniacCalvin:
2017-12-17 17:45:04 -08:00
trainer EVENT_BEAT_POKEMANIAC_CALVIN, POKEMANIAC, CALVIN, PokemaniacCalvinSeenText, PokemaniacCalvinBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext PokemaniacCalvinAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerHikerPhillip:
2017-12-17 17:45:04 -08:00
trainer EVENT_BEAT_HIKER_PHILLIP, HIKER, PHILLIP, HikerPhillipSeenText, HikerPhillipBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext HikerPhillipAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerHikerLeonard:
2017-12-17 17:45:04 -08:00
trainer EVENT_BEAT_HIKER_LEONARD, HIKER, LEONARD, HikerLeonardSeenText, HikerLeonardBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext HikerLeonardAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-12-15 07:55:56 -08:00
UnionCaveB1FTMSwift:
itemball TM_SWIFT
2015-12-15 07:55:56 -08:00
UnionCaveB1FXDefend:
itemball X_DEFEND
2015-06-25 21:01:08 -07:00
UnionCaveB1FBoulder:
2015-06-23 14:02:58 -07:00
jumpstd strengthboulder
2015-07-10 01:20:21 -07:00
HikerPhillipSeenText:
text "It's been a while"
line "since I last saw"
cont "another person."
para "Don't be shy."
line "Let's battle!"
done
2015-07-10 01:20:21 -07:00
HikerPhillipBeatenText:
text "Uurggh…"
done
2017-12-10 12:36:58 -08:00
HikerPhillipAfterBattleText:
text "I've been lost for"
line "a long time…"
para "I don't mind it"
line "here, but I am"
cont "soooo hungry!"
done
2015-07-10 01:20:21 -07:00
HikerLeonardSeenText:
text "What do you know!"
line "A visitor!"
done
2015-07-10 01:20:21 -07:00
HikerLeonardBeatenText:
text "Wahahah! You're a"
line "feisty one!"
done
2017-12-10 12:36:58 -08:00
HikerLeonardAfterBattleText:
text "I live down here."
para "You can, too, if"
line "you'd like."
para "There's plenty of"
line "room, you see."
done
2015-07-10 01:20:21 -07:00
PokemaniacAndrewSeenText:
text "Who's there?"
para "Leave me and my"
line "#MON alone!"
done
2015-07-10 01:20:21 -07:00
PokemaniacAndrewBeatenText:
text "Go…"
line "Go away!"
done
2017-12-10 12:36:58 -08:00
PokemaniacAndrewAfterBattleText:
text "Just me and my"
line "#MON. I'm de-"
cont "lirious with joy."
done
2015-07-10 01:20:21 -07:00
PokemaniacCalvinSeenText:
text "I came all the way"
line "here to conduct my"
cont "#MON research."
para "Let me demonstrate"
line "my findings in a"
cont "real battle!"
done
2015-07-10 01:20:21 -07:00
PokemaniacCalvinBeatenText:
text "You demonstrated"
line "on me!"
done
2017-12-10 12:36:58 -08:00
PokemaniacCalvinAfterBattleText:
text "I should compile"
line "and announce my"
cont "study findings."
para "I might even be-"
line "come famous like"
cont "PROF.ELM."
done
2015-07-10 01:20:21 -07:00
UnionCaveB1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 5
warp_def $3, $3, 7, RUINS_OF_ALPH_OUTSIDE
warp_def $b, $3, 8, RUINS_OF_ALPH_OUTSIDE
warp_def $13, $7, 1, UNION_CAVE_1F
warp_def $21, $3, 2, UNION_CAVE_1F
warp_def $1f, $11, 1, UNION_CAVE_B2F
.CoordEvents:
db 0
.BGEvents:
db 0
.ObjectEvents:
db 7
object_event SPRITE_POKEFAN_M, 4, 9, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerHikerPhillip, -1
object_event SPRITE_POKEFAN_M, 7, 16, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerHikerLeonard, -1
object_event SPRITE_SUPER_NERD, 32, 5, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerPokemaniacAndrew, -1
object_event SPRITE_SUPER_NERD, 30, 17, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerPokemaniacCalvin, -1
object_event SPRITE_POKE_BALL, 16, 2, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, UnionCaveB1FTMSwift, EVENT_UNION_CAVE_B1F_TM_SWIFT
object_event SPRITE_BOULDER, 10, 7, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, UnionCaveB1FBoulder, -1
object_event SPRITE_POKE_BALL, 23, 17, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, UnionCaveB1FXDefend, EVENT_UNION_CAVE_B1F_X_DEFEND