pokecrystal-board/maps/UnionCaveB1F.asm

237 lines
4.5 KiB
NASM
Raw Normal View History

2015-07-10 01:20:21 -07:00
UnionCaveB1F_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
2015-07-10 01:20:21 -07:00
TrainerPokemaniacAndrew:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_POKEMANIAC_ANDREW
; trainer group && trainer id
db POKEMANIAC, ANDREW
; text when seen
dw PokemaniacAndrewSeenText
; text when trainer beaten
dw PokemaniacAndrewBeatenText
; script when lost
dw $0000
; script when talk again
dw PokemaniacAndrewScript
2015-07-10 01:20:21 -07:00
PokemaniacAndrewScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x5a181
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerPokemaniacCalvin:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_POKEMANIAC_CALVIN
; trainer group && trainer id
db POKEMANIAC, CALVIN
; text when seen
dw PokemaniacCalvinSeenText
; text when trainer beaten
dw PokemaniacCalvinBeatenText
; script when lost
dw $0000
; script when talk again
dw PokemaniacCalvinScript
2015-07-10 01:20:21 -07:00
PokemaniacCalvinScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x5a230
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerHikerPhillip:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_HIKER_PHILLIP
; trainer group && trainer id
db HIKER, PHILLIP
; text when seen
dw HikerPhillipSeenText
; text when trainer beaten
dw HikerPhillipBeatenText
; script when lost
dw $0000
; script when talk again
dw HikerPhillipScript
2015-07-10 01:20:21 -07:00
HikerPhillipScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x5a073
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerHikerLeonard:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_HIKER_LEONARD
; trainer group && trainer id
db HIKER, LEONARD
; text when seen
dw HikerLeonardSeenText
; text when trainer beaten
dw HikerLeonardBeatenText
; script when lost
dw $0000
; script when talk again
dw HikerLeonardScript
2015-07-10 01:20:21 -07:00
HikerLeonardScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x5a0fb
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
ItemFragment_0x5a016:
db TM_SWIFT, 1
2015-07-10 01:20:21 -07:00
ItemFragment_0x5a018:
db X_DEFEND, 1
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
2015-07-10 01:20:21 -07:00
UnknownText_0x5a073:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x5a0fb:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x5a181:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x5a230:
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, GROUP_RUINS_OF_ALPH_OUTSIDE, MAP_RUINS_OF_ALPH_OUTSIDE
warp_def $b, $3, 8, GROUP_RUINS_OF_ALPH_OUTSIDE, MAP_RUINS_OF_ALPH_OUTSIDE
warp_def $13, $7, 1, GROUP_UNION_CAVE_1F, MAP_UNION_CAVE_1F
warp_def $21, $3, 2, GROUP_UNION_CAVE_1F, MAP_UNION_CAVE_1F
warp_def $1f, $11, 1, GROUP_UNION_CAVE_B2F, MAP_UNION_CAVE_B2F
; xy triggers
db 0
; signposts
db 0
; people-events
db 7
person_event SPRITE_POKEFAN_M, 8, 13, LEFT << 2 | $2, $0, -1, -1, (PAL_OW_BROWN << 4) | $82, 3, TrainerHikerPhillip, -1
person_event SPRITE_POKEFAN_M, 11, 20, UP << 2 | $2, $0, -1, -1, (PAL_OW_BROWN << 4) | $82, 3, TrainerHikerLeonard, -1
person_event SPRITE_SUPER_NERD, 36, 9, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 3, TrainerPokemaniacAndrew, -1
person_event SPRITE_SUPER_NERD, 34, 21, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 3, TrainerPokemaniacCalvin, -1
person_event SPRITE_POKE_BALL, 20, 6, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x5a016, EVENT_UNION_CAVE_B1F_TM_SWIFT
person_event SPRITE_BOULDER, 14, 11, LEFT << 2 | $11, $0, -1, -1, $0, 0, UnionCaveB1FBoulder, -1
person_event SPRITE_POKE_BALL, 27, 21, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x5a018, EVENT_UNION_CAVE_B1F_X_DEFEND