pokecrystal/maps/MountMortar2FInside.asm

103 lines
2.2 KiB
NASM
Raw Normal View History

2015-07-10 08:20:21 +00:00
MountMortar2FInside_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
2015-07-10 08:20:21 +00:00
TrainerSupernerdHugh:
; bit/flag number
2015-07-10 08:20:21 +00:00
dw EVENT_BEAT_SUPER_NERD_HUGH
; trainer group && trainer id
db SUPER_NERD, HUGH
; text when seen
dw SupernerdHughSeenText
; text when trainer beaten
dw SupernerdHughBeatenText
; script when lost
dw $0000
; script when talk again
dw SupernerdHughScript
2015-07-10 08:20:21 +00:00
SupernerdHughScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x7e10e
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
ItemFragment_0x7e0de:
db MAX_POTION, 1
2015-07-10 08:20:21 +00:00
ItemFragment_0x7e0e0:
db RARE_CANDY, 1
2015-07-10 08:20:21 +00:00
ItemFragment_0x7e0e2:
db TM_DEFENSE_CURL, 1
2015-07-10 08:20:21 +00:00
ItemFragment_0x7e0e4:
db DRAGON_SCALE, 1
2015-07-10 08:20:21 +00:00
ItemFragment_0x7e0e6:
db ELIXER, 1
2015-07-10 08:20:21 +00:00
ItemFragment_0x7e0e8:
db ESCAPE_ROPE, 1
2015-07-10 08:20:21 +00:00
MapMountMortar2FInsideSignpostItem0:
dw $0092
db FULL_RESTORE
2015-07-10 08:20:21 +00:00
SupernerdHughSeenText:
text "Yo! MARKUS!"
done
2015-07-10 08:20:21 +00:00
SupernerdHughBeatenText:
text "Sorry, my mistake."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x7e10e:
text "I'm investigating"
line "MT.MORTAR, but my"
cont "pal's gone AWOL."
para "Have you seen a"
line "trainer who has a"
para "SLOWPOKE that can"
line "use STRENGTH?"
done
2015-07-10 08:20:21 +00:00
MountMortar2FInside_MapEventHeader:
; filler
db 0, 0
; warps
db 2
warp_def $21, $11, 4, GROUP_MOUNT_MORTAR_1F_OUTSIDE, MAP_MOUNT_MORTAR_1F_OUTSIDE
warp_def $5, $3, 6, GROUP_MOUNT_MORTAR_1F_INSIDE, MAP_MOUNT_MORTAR_1F_INSIDE
; xy triggers
db 0
; signposts
db 1
signpost 8, 24, SIGNPOST_ITEMIFSET, MapMountMortar2FInsideSignpostItem0
; people-events
db 7
person_event SPRITE_POKE_BALL, 26, 32, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x7e0de, EVENT_680
person_event SPRITE_POKE_BALL, 37, 6, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x7e0e0, EVENT_681
person_event SPRITE_POKE_BALL, 21, 23, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x7e0e2, EVENT_682
person_event SPRITE_POKE_BALL, 9, 20, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x7e0e4, EVENT_683
person_event SPRITE_POKE_BALL, 15, 13, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x7e0e6, EVENT_684
person_event SPRITE_POKE_BALL, 9, 32, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x7e0e8, EVENT_685
person_event SPRITE_SUPER_NERD, 30, 17, LEFT << 2 | $2, $0, -1, -1, (PAL_OW_BROWN << 4) | $82, 2, TrainerSupernerdHugh, -1