pokecrystal/maps/BlackthornMart.asm

64 lines
1.2 KiB
NASM
Raw Normal View History

2015-07-10 08:45:35 +00:00
BlackthornMart_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
2015-07-10 08:45:35 +00:00
ClerkScript_0x195a5d:
loadfont
pokemart $0, $0011
loadmovesprites
end
2015-07-10 08:45:35 +00:00
CooltrainerMScript_0x195a64:
jumptextfaceplayer UnknownText_0x195a6a
2015-07-10 08:45:35 +00:00
BlackBeltScript_0x195a67:
jumptextfaceplayer UnknownText_0x195ae9
2015-07-10 08:45:35 +00:00
UnknownText_0x195a6a:
text "You can't buy MAX"
line "REVIVE, but it"
para "fully restores a"
line "fainted #MON."
para "Beware--it won't"
line "restore PP, the"
para "POWER POINTS"
line "needed for moves."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x195ae9:
text "MAX REPEL keeps"
line "weak #MON away"
cont "from you."
para "It's the longest"
line "lasting of the"
cont "REPEL sprays."
done
2015-07-10 08:45:35 +00:00
BlackthornMart_MapEventHeader:
; filler
db 0, 0
; warps
db 2
warp_def $7, $2, 4, GROUP_BLACKTHORN_CITY, MAP_BLACKTHORN_CITY
warp_def $7, $3, 4, GROUP_BLACKTHORN_CITY, MAP_BLACKTHORN_CITY
; xy triggers
db 0
; signposts
db 0
; people-events
db 3
person_event SPRITE_CLERK, 7, 5, LEFT << 2 | $1, $0, -1, -1, $0, 0, ClerkScript_0x195a5d, -1
person_event SPRITE_COOLTRAINER_M, 10, 11, UP << 2 | $1, $2, -1, -1, $0, 0, CooltrainerMScript_0x195a64, -1
person_event SPRITE_BLACK_BELT, 6, 9, UP << 2 | $2, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, BlackBeltScript_0x195a67, -1