summaryrefslogtreecommitdiff
path: root/maps/VermilionPort.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-07-16 18:10:10 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-07-16 18:10:10 -0400
commit894955f9d922de5fc33e6c0aa7af9795dbcbc158 (patch)
tree67dd99bdc03ba493937ed00876d5cd0229a83369 /maps/VermilionPort.asm
parent7054bfe71718d5b327bbd3725c82d2431c7fcfb1 (diff)
Special script annotation, trainer constant enumeration, person-event structure update
Diffstat (limited to 'maps/VermilionPort.asm')
-rw-r--r--maps/VermilionPort.asm22
1 files changed, 11 insertions, 11 deletions
diff --git a/maps/VermilionPort.asm b/maps/VermilionPort.asm
index bcd154e8d..a4cf151c2 100644
--- a/maps/VermilionPort.asm
+++ b/maps/VermilionPort.asm
@@ -32,14 +32,14 @@ UnknownScript_0x74da6:
setevent EVENT_739
clearevent EVENT_733
setevent EVENT_030
- setevent EVENT_000
+ setevent EVENT_CHRIS1_IN_CABLE_CLUB
blackoutmod GROUP_VERMILION_CITY, MAP_VERMILION_CITY
end
SailorScript_0x74dc4:
faceplayer
loadfont
- checkevent EVENT_000
+ checkevent EVENT_CHRIS1_IN_CABLE_CLUB
iftrue UnknownScript_0x74e1a
writetext UnknownText_0x74f06
closetext
@@ -79,9 +79,9 @@ UnknownScript_0x74e1a:
UnknownScript_0x74e20:
spriteface $3, RIGHT
- checkevent EVENT_000
+ checkevent EVENT_CHRIS1_IN_CABLE_CLUB
iftrue UnknownScript_0x74e86
- checkevent EVENT_001
+ checkevent EVENT_CHRIS2_IN_CABLE_CLUB
iftrue UnknownScript_0x74e86
spriteface $0, LEFT
loadfont
@@ -101,7 +101,7 @@ UnknownScript_0x74e20:
writetext UnknownText_0x74fc2
closetext
loadmovesprites
- setevent EVENT_001
+ setevent EVENT_CHRIS2_IN_CABLE_CLUB
applymovement $0, MovementData_0x74ef8
jump SailorScript_0x74dc4
@@ -145,7 +145,7 @@ UnknownScript_0x74e8d:
SailorScript_0x74e97:
faceplayer
loadfont
- checkevent EVENT_000
+ checkevent EVENT_CHRIS1_IN_CABLE_CLUB
iftrue UnknownScript_0x74e1a
checkcode VAR_WEEKDAY
if_equal MONDAY, UnknownScript_0x74eda
@@ -163,7 +163,7 @@ SailorScript_0x74e97:
writetext UnknownText_0x74fc2
closetext
loadmovesprites
- setevent EVENT_001
+ setevent EVENT_CHRIS2_IN_CABLE_CLUB
applymovement $0, MovementData_0x74efe
jump SailorScript_0x74dc4
@@ -314,10 +314,10 @@ VermilionPort_MapEventHeader:
; signposts
db 1
- signpost 13, 16, $7, MapVermilionPortSignpostItem0
+ signpost 13, 16, SIGNPOST_ITEMIFSET, MapVermilionPortSignpostItem0
; people-events
db 3
- person_event SPRITE_SAILOR, 21, 11, $7, $0, 255, 255, $0, 0, SailorScript_0x74dc4, EVENT_72B
- person_event SPRITE_SAILOR, 15, 10, $9, $0, 255, 255, $0, 0, SailorScript_0x74e97, -1
- person_event SPRITE_SUPER_NERD, 15, 15, $5, $2, 255, 255, $0, 0, SuperNerdScript_0x74ee6, -1
+ person_event SPRITE_SAILOR, 21, 11, UP << 2 | $3, $0, -1, -1, $0, 0, SailorScript_0x74dc4, EVENT_72B
+ person_event SPRITE_SAILOR, 15, 10, LEFT << 2 | $1, $0, -1, -1, $0, 0, SailorScript_0x74e97, -1
+ person_event SPRITE_SUPER_NERD, 15, 15, UP << 2 | $1, $2, -1, -1, $0, 0, SuperNerdScript_0x74ee6, -1