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