pokecrystal-board/maps/VermilionMart.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

59 lines
1.2 KiB
NASM

const_value set 2
const VERMILIONMART_CLERK
const VERMILIONMART_SUPER_NERD
const VERMILIONMART_BUENA
VermilionMart_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
ClerkScript_0x191f7e:
opentext
pokemart MARTTYPE_STANDARD, MART_VERMILION
closetext
end
VermilionMartSuperNerdScript:
jumptextfaceplayer VermilionMartSuperNerdText
VermilionMartBuenaScript:
jumptextfaceplayer VermilionMartBuenaText
VermilionMartSuperNerdText:
text "TEAM ROCKET is no"
line "longer in KANTO."
para "That alone makes"
line "me happy."
done
VermilionMartBuenaText:
text "I'm thinking about"
line "going shopping in"
cont "SAFFRON."
done
VermilionMart_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 5, VERMILION_CITY
warp_def $7, $3, 5, VERMILION_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, ClerkScript_0x191f7e, -1
object_event SPRITE_SUPER_NERD, 2, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, VermilionMartSuperNerdScript, -1
object_event SPRITE_BUENA, 6, 8, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, VermilionMartBuenaScript, -1