2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
|
|
|
const TRADECENTER_CHRIS1
|
|
|
|
const TRADECENTER_CHRIS2
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
TradeCenter_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
2015-12-10 19:28:46 -08:00
|
|
|
dw .Trigger0, 0
|
2015-11-02 11:37:02 -08:00
|
|
|
dw .Trigger1, 0
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
dbw 2, TradeCenter_SetWhichChris
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-10 19:28:46 -08:00
|
|
|
.Trigger0:
|
2015-07-16 15:10:10 -07:00
|
|
|
priorityjump TradeCenter_Initialize
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-10 19:28:46 -08:00
|
|
|
.Trigger1:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
TradeCenter_SetWhichChris:
|
|
|
|
special Special_CableClubCheckWhichChris
|
|
|
|
iffalse .Chris2
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear TRADECENTER_CHRIS2
|
|
|
|
appear TRADECENTER_CHRIS1
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Chris2:
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear TRADECENTER_CHRIS1
|
|
|
|
appear TRADECENTER_CHRIS2
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
TradeCenter_Initialize:
|
2013-02-16 22:54:07 -08:00
|
|
|
dotrigger $1
|
2015-07-23 09:59:19 -07:00
|
|
|
domaptrigger POKECENTER_2F, $1
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MapTradeCenterSignpost1Script:
|
2015-07-16 15:10:10 -07:00
|
|
|
special Special_TradeCenter
|
2015-11-11 20:38:57 -08:00
|
|
|
newloadmap MAPSETUP_LINKRETURN
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
ChrisScript_0x19340b:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext .FriendReadyText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.FriendReadyText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Your friend is"
|
|
|
|
line "ready."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
TradeCenter_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Warps:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $7, $4, 2, POKECENTER_2F
|
|
|
|
warp_def $7, $5, 2, POKECENTER_2F
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.XYTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2015-07-16 15:10:10 -07:00
|
|
|
signpost 4, 4, SIGNPOST_RIGHT, MapTradeCenterSignpost1Script
|
|
|
|
signpost 4, 5, SIGNPOST_LEFT, MapTradeCenterSignpost1Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2015-11-15 12:07:20 -08:00
|
|
|
person_event SPRITE_CHRIS, 4, 3, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ChrisScript_0x193499, EVENT_GAVE_KURT_APRICORNS
|
|
|
|
person_event SPRITE_CHRIS, 4, 6, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ChrisScript_0x193499, EVENT_RECEIVED_BALLS_FROM_KURT
|