summaryrefslogtreecommitdiff
path: root/maps/TimeCapsule.asm
diff options
context:
space:
mode:
Diffstat (limited to 'maps/TimeCapsule.asm')
-rw-r--r--maps/TimeCapsule.asm64
1 files changed, 27 insertions, 37 deletions
diff --git a/maps/TimeCapsule.asm b/maps/TimeCapsule.asm
index 4b9df263f..8fce13350 100644
--- a/maps/TimeCapsule.asm
+++ b/maps/TimeCapsule.asm
@@ -1,87 +1,77 @@
-TimeCapsule_MapScriptHeader: ; 0x1934eb
- ; trigger count
+TimeCapsule_MapScriptHeader:
+.MapTriggers:
db 2
; triggers
- dw UnknownScript_0x1934f8, $0000
- dw UnknownScript_0x1934fc, $0000
+ dw .Trigger1, $0000
+ dw .Trigger2, $0000
- ; callback count
+.MapCallbacks:
db 1
; callbacks
- dbw 2, UnknownScript_0x1934fd
-; 0x1934f8
+ dbw 2, TimeCapsule_SetWhichChris
-UnknownScript_0x1934f8: ; 0x1934f8
- priorityjump UnknownScript_0x19350d
+.Trigger1:
+ priorityjump TimeCapsule_Initialize
end
-; 0x1934fc
-UnknownScript_0x1934fc: ; 0x1934fc
+.Trigger2:
end
-; 0x1934fd
-UnknownScript_0x1934fd: ; 0x1934fd
- special Function29f47
- iffalse UnknownScript_0x193508
+TimeCapsule_SetWhichChris:
+ special Special_CableClubCheckWhichChris
+ iffalse .Chris2
disappear $3
appear $2
return
-; 0x193508
-UnknownScript_0x193508: ; 0x193508
+.Chris2:
disappear $2
appear $3
return
-; 0x19350d
-UnknownScript_0x19350d: ; 0x19350d
+TimeCapsule_Initialize:
dotrigger $1
domaptrigger GROUP_POKECENTER_2F, MAP_POKECENTER_2F, $3
end
-; 0x193514
-MapTimeCapsuleSignpost1Script: ; 0x193514
- special Function29eaf
+MapTimeCapsuleSignpost1Script:
+ special Special_TimeCapsule
newloadmap $f8
end
-; 0x19351a
-ChrisScript_0x19351a: ; 0x19351a
+ChrisScript_0x19351a:
loadfont
writetext UnknownText_0x193521
closetext
loadmovesprites
end
-; 0x193521
-UnknownText_0x193521: ; 0x193521
+UnknownText_0x193521:
text "Your friend is"
line "ready."
done
-; 0x193538
-TimeCapsule_MapEventHeader: ; 0x193538
+TimeCapsule_MapEventHeader:
; filler
db 0, 0
- ; warps
+.Warps:
db 2
warp_def $7, $4, 4, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
warp_def $7, $5, 4, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
- ; xy triggers
+.XYTriggers:
db 0
- ; signposts
+.Signposts:
db 2
- signpost 4, 4, $3, MapTimeCapsuleSignpost1Script
- signpost 4, 5, $4, MapTimeCapsuleSignpost1Script
+ signpost 4, 4, SIGNPOST_RIGHT, MapTimeCapsuleSignpost1Script
+ signpost 4, 5, SIGNPOST_LEFT, MapTimeCapsuleSignpost1Script
- ; people-events
+.PersonEvents:
db 2
- person_event SPRITE_CHRIS, 8, 7, $9, $0, 255, 255, $0, 0, ChrisScript_0x19351a, $0000
- person_event SPRITE_CHRIS, 8, 10, $8, $0, 255, 255, $0, 0, ChrisScript_0x19351a, $0001
-; 0x19356c
+ person_event SPRITE_CHRIS, 8, 7, OW_LEFT | $1, $0, -1, -1, $0, 0, ChrisScript_0x19351a, EVENT_GAVE_KURT_APRICORNS
+ person_event SPRITE_CHRIS, 8, 10, OW_LEFT | $0, $0, -1, -1, $0, 0, ChrisScript_0x19351a, EVENT_RECEIVED_BALLS_FROM_KURT