Special script annotation, trainer constant enumeration, person-event structure update

This commit is contained in:
PikalaxALT
2015-07-16 18:10:10 -04:00
parent 7054bfe717
commit 894955f9d9
382 changed files with 4179 additions and 4035 deletions

View File

@@ -3,53 +3,53 @@ TradeCenter_MapScriptHeader:
db 2
; triggers
dw UnknownScript_0x1933e9, $0000
dw UnknownScript_0x1933ed, $0000
dw .Trigger1, $0000
dw .Trigger2, $0000
; callback count
db 1
; callbacks
dbw 2, UnknownScript_0x1933ee
dbw 2, TradeCenter_SetWhichChris
UnknownScript_0x1933e9:
priorityjump UnknownScript_0x1933fe
.Trigger1:
priorityjump TradeCenter_Initialize
end
UnknownScript_0x1933ed:
.Trigger2:
end
UnknownScript_0x1933ee:
special Function29f47
iffalse UnknownScript_0x1933f9
TradeCenter_SetWhichChris:
special Special_CableClubCheckWhichChris
iffalse .Chris2
disappear $3
appear $2
return
UnknownScript_0x1933f9:
.Chris2:
disappear $2
appear $3
return
UnknownScript_0x1933fe:
TradeCenter_Initialize:
dotrigger $1
domaptrigger GROUP_POKECENTER_2F, MAP_POKECENTER_2F, $1
end
MapTradeCenterSignpost1Script:
special Function29ec4
special Special_TradeCenter
newloadmap $f8
end
UnknownScript_0x19340b:
ChrisScript_0x19340b:
loadfont
writetext UnknownText_0x193412
writetext .FriendReadyText
closetext
loadmovesprites
end
UnknownText_0x193412:
.FriendReadyText:
text "Your friend is"
line "ready."
done
@@ -68,10 +68,10 @@ TradeCenter_MapEventHeader:
; signposts
db 2
signpost 4, 4, $3, MapTradeCenterSignpost1Script
signpost 4, 5, $4, MapTradeCenterSignpost1Script
signpost 4, 4, SIGNPOST_RIGHT, MapTradeCenterSignpost1Script
signpost 4, 5, SIGNPOST_LEFT, MapTradeCenterSignpost1Script
; people-events
db 2
person_event SPRITE_CHRIS, 8, 7, $9, $0, 255, 255, $0, 0, ChrisScript_0x193499, EVENT_000
person_event SPRITE_CHRIS, 8, 10, $8, $0, 255, 255, $0, 0, ChrisScript_0x193499, EVENT_001
person_event SPRITE_CHRIS, 8, 7, LEFT << 2 | $1, $0, -1, -1, $0, 0, ChrisScript_0x193499, EVENT_CHRIS1_IN_CABLE_CLUB
person_event SPRITE_CHRIS, 8, 10, LEFT << 2 | $0, $0, -1, -1, $0, 0, ChrisScript_0x193499, EVENT_CHRIS2_IN_CABLE_CLUB