pokecrystal-board/maps/BlackthornMart.asm
Remy Oukaour c05b7f41dd Renaming: (fix #412)
- MapTriggers / maptrigger → SceneScripts / scene_script
- XYTriggers / xy_trigger → CoordEvents / coord_event
- Signposts / signpost → BGEvents / bg_event
- PersonEvents / person_event → ObjectEvents / object_event
2017-12-24 14:33:17 -05:00

69 lines
1.5 KiB
NASM

const_value set 2
const BLACKTHORNMART_CLERK
const BLACKTHORNMART_COOLTRAINER_M
const BLACKTHORNMART_BLACK_BELT
BlackthornMart_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
BlackthornMartClerkScript:
opentext
pokemart MARTTYPE_STANDARD, MART_BLACKTHORN
closetext
end
BlackthornMartCooltrainerMScript:
jumptextfaceplayer BlackthornMartCooltrainerMText
BlackthornMartBlackBeltScript:
jumptextfaceplayer BlackthornMartBlackBeltText
BlackthornMartCooltrainerMText:
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
BlackthornMartBlackBeltText:
text "MAX REPEL keeps"
line "weak #MON away"
cont "from you."
para "It's the longest"
line "lasting of the"
cont "REPEL sprays."
done
BlackthornMart_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 4, BLACKTHORN_CITY
warp_def $7, $3, 4, BLACKTHORN_CITY
.CoordEvents:
db 0
.BGEvents:
db 0
.ObjectEvents:
db 3
object_event SPRITE_CLERK, 3, 1, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornMartClerkScript, -1
object_event SPRITE_COOLTRAINER_M, 6, 7, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornMartCooltrainerMScript, -1
object_event SPRITE_BLACK_BELT, 2, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, BlackthornMartBlackBeltScript, -1