summaryrefslogtreecommitdiff
path: root/maps/PokeCenter2F.asm
blob: 9a6e3076b041848653a18377bb4e94f74282de56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
PokeCenter2F_MapScriptHeader:
.MapTriggers:
	db 6

	; triggers
	dw .Trigger1, $0000
	dw .Trigger2, $0000
	dw .Trigger3, $0000
	dw .Trigger4, $0000
	dw .Trigger5, $0000
	dw .Trigger6, $0000

.MapCallbacks:
	db 0

.Trigger1:
	special Special_CheckMysteryGift
	if_equal $0, .Trigger1Done
	clearevent EVENT_MYSTERY_GIFT_DELIVERY_GUY
	checkevent EVENT_RECEIVED_BALLS_FROM_KURT
	iftrue .Trigger1Done
	priorityjump PokeCenter2F_AppearMysteryGiftDeliveryGuy

.Trigger1Done:
	end

.Trigger2:
	priorityjump Script_LeftCableTradeCenter
	end

.Trigger3:
	priorityjump Script_LeftCableColosseum
	end

.Trigger4:
	priorityjump Script_LeftTimeCapsule
	end

.Trigger5:
	priorityjump Script_LeftMobileTradeRoom
	end

.Trigger6:
	priorityjump Script_LeftMobileBattleRoom
	end

PokeCenter2F_AppearMysteryGiftDeliveryGuy:
	appear $5
	setevent EVENT_RECEIVED_BALLS_FROM_KURT
	end

Script_TradeCenterClosed:
	faceplayer
	loadfont
	writetext Text_TradeRoomClosed
	closetext
	loadmovesprites
	end

Script_BattleRoomClosed:
	faceplayer
	loadfont
	writetext Text_BattleRoomClosed
	closetext
	loadmovesprites
	end

LinkReceptionistScript_Trade:
	checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
	iffalse Script_TradeCenterClosed
	loadfont
	writetext Text_TradeReceptionistIntro
	yesorno
	iffalse .Cancel
	special Function10630f
	iffalse .NoMobile
	writetext Text_TradeReceptionistMobile
	special Function103612
	iffalse .Cancel
	if_equal $1, .Mobile
.NoMobile:
	special Special_SetBitsForLinkTradeRequest
	writetext Text_PleaseWait
	special Special_WaitForLinkedFriend
	iffalse .FriendNotReady
	writetext Text_MustSaveGame
	yesorno
	iffalse .DidNotSave
	special Special_TryQuickSave
	iffalse .DidNotSave
	writetext Text_PleaseWait
	special Special_CheckLinkTimeout
	iffalse .LinkTimedOut
	copybytetovar wcf51
	iffalse .LinkedToFirstGen
	special Special_CheckBothSelectedSameRoom
	iffalse .IncompatibleRooms
	writetext Text_PleaseComeIn2
	closetext
	loadmovesprites
	scall PokeCenter2F_CheckGender
	warpcheck
	end

.FriendNotReady:
	special Special_AbortLink
	writetext Text_FriendNotReady
	loadmovesprites
	end

.LinkedToFirstGen:
	special Special_FailedLinkToPast
	writetext Text_CantLinkToThePast
	special Special_CloseLink
	loadmovesprites
	end

.IncompatibleRooms:
	writetext Text_IncompatibleRooms
	special Special_CloseLink
	loadmovesprites
	end

.LinkTimedOut:
	writetext Text_LinkTimedOut
	jump .AbortLink

.DidNotSave:
	writetext Text_PleaseComeAgain
.AbortLink:
	special Special_AbortLink
.Cancel:
	loadmovesprites
	end

.Mobile:
	scall .Mobile_TrySave
	iftrue .Mobile_Abort
	scall BattleTradeMobile_WalkIn
	warpcheck
	end

.Mobile_Abort:
	end

.Mobile_TrySave:
	writetext Text_MustSaveGame
	yesorno
	iffalse .Mobile_DidNotSave
	special Special_TryQuickSave
	iffalse .Mobile_DidNotSave
	special Function1011f1
	writetext Text_PleaseComeIn2
	closetext
	loadmovesprites
	writebyte $0
	end

.Mobile_DidNotSave:
	writetext Text_PleaseComeAgain
	loadmovesprites
	writebyte $1
	end

BattleTradeMobile_WalkIn:
	applymovement2 MovementData_0x192cce
	applymovement PLAYER, MovementData_0x192ce7
	end

LinkReceptionistScript_Battle:
	checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
	iffalse Script_BattleRoomClosed
	loadfont
	writetext Text_BattleReceptionistIntro
	yesorno
	iffalse .Cancel
	special Function10630f
	iffalse .NoMobile
	writetext Text_BattleReceptionistMobile
	special Function103612
	iffalse .Cancel
	if_equal $1, .Mobile
.NoMobile:
	special Special_SetBitsForBattleRequest
	writetext Text_PleaseWait
	special Special_WaitForLinkedFriend
	iffalse .FriendNotReady
	writetext Text_MustSaveGame
	yesorno
	iffalse .DidNotSave
	special Special_TryQuickSave
	iffalse .DidNotSave
	writetext Text_PleaseWait
	special Special_CheckLinkTimeout
	iffalse .LinkTimedOut
	copybytetovar wcf51
	iffalse .LinkedToFirstGen
	special Special_CheckBothSelectedSameRoom
	iffalse .IncompatibleRooms
	writetext Text_PleaseComeIn2
	closetext
	loadmovesprites
	scall PokeCenter2F_CheckGender
	warpcheck
	end

.FriendNotReady:
	special Special_AbortLink
	writetext Text_FriendNotReady
	loadmovesprites
	end

.LinkedToFirstGen:
	special Special_FailedLinkToPast
	writetext Text_CantLinkToThePast
	special Special_CloseLink
	loadmovesprites
	end

.IncompatibleRooms:
	writetext Text_IncompatibleRooms
	special Special_CloseLink
	loadmovesprites
	end

.LinkTimedOut:
	writetext Text_LinkTimedOut
	jump .AbortLink

.DidNotSave:
	writetext Text_PleaseComeAgain
.AbortLink:
	special Special_AbortLink
.Cancel:
	loadmovesprites
	end

.Mobile:
	scall .SelectThreeMons
	iffalse .Mobile_Abort
	scall .Mobile_TrySave
	iftrue .Mobile_Abort
	scall BattleTradeMobile_WalkIn
	warpcheck
	end

.Mobile_Abort:
	end

.Mobile_TrySave:
	writetext Text_MustSaveGame
	yesorno
	iffalse .Mobile_DidNotSave
	special Function103780
	iffalse .Mobile_DidNotSave
	special Function1011f1
	writetext Text_PleaseComeIn2
	closetext
	loadmovesprites
	writebyte $0
	end

.Mobile_DidNotSave:
	writetext Text_PleaseComeAgain
	loadmovesprites
	writebyte $1
	end

.SelectThreeMons:
	special Mobile_SelectThreeMons
	iffalse .Mobile_DidNotSelect
	if_equal $1, .Mobile_OK
	if_equal $2, .Mobile_OK
	if_equal $3, .Mobile_InvalidParty
	jump .Mobile_DidNotSelect

.Mobile_InvalidParty:
	writetext Text_BrokeStadiumRules
	closetext
.Mobile_DidNotSelect:
	loadmovesprites
	writebyte $0
	end

.Mobile_OK:
	writebyte $1
	end

Script_TimeCapsuleClosed:
	faceplayer
	loadfont
	writetext Text_TimeCapsuleClosed
	closetext
	loadmovesprites
	end

LinkReceptionistScript_TimeCapsule:
	checkevent EVENT_MET_BILL
	iftrue Script_TimeCapsuleClosed
	checkflag ENGINE_TIME_CAPSULE
	iftrue Script_TimeCapsuleClosed
	special Special_SetBitsForTimeCapsuleRequest
	faceplayer
	loadfont
	writetext Text_TimeCapsuleReceptionistIntro
	yesorno
	iffalse .Cancel
	special Special_CheckTimeCapsuleCompatibility
	if_equal $1, .MonTooNew
	if_equal $2, .MonMoveTooNew
	if_equal $3, .MonHasMail
	writetext Text_PleaseWait
	special Special_WaitForLinkedFriend
	iffalse .FriendNotReady
	writetext Text_MustSaveGame
	yesorno
	iffalse .DidNotSave
	special Special_TryQuickSave
	iffalse .DidNotSave
	writetext Text_PleaseWait
	special Special_CheckLinkTimeout
	iffalse .LinkTimedOut
	copybytetovar wcf51
	iffalse .OK
	special Special_CheckBothSelectedSameRoom
	writetext Text_IncompatibleRooms
	special Special_CloseLink
	loadmovesprites
	end

.OK:
	special Special_EnterTimeCapsule
	writetext Text_PleaseComeIn2
	closetext
	loadmovesprites
	scall TimeCapsuleScript_CheckPlayerGender
	warpcheck
	end

.FriendNotReady:
	special Special_AbortLink
	writetext Text_FriendNotReady
	loadmovesprites
	end

.LinkTimedOut:
	writetext Text_LinkTimedOut
	jump .Cancel

.DidNotSave:
	writetext Text_PleaseComeAgain
.Cancel:
	special Special_AbortLink
	loadmovesprites
	end

.MonTooNew:
	writetext Text_RejectNewMon
	loadmovesprites
	end

.MonMoveTooNew:
	writetext Text_RejectMonWithNewMove
	loadmovesprites
	end

.MonHasMail:
	writetext Text_RejectMonWithMail
	loadmovesprites
	end

Script_LeftCableTradeCenter:
	special Special_AbortLink
	scall Script_CleanUpFemaleFlagAfterTrade
	dotrigger $0
	domaptrigger TRADE_CENTER, $0
	end

Script_LeftMobileTradeRoom:
	special Function101220
	scall Script_WalkOutOfMobileTradeRoom
	dotrigger $0
	domaptrigger MOBILE_TRADE_ROOM_MOBILE, $0
	end

Script_WalkOutOfMobileTradeRoom:
	applymovement $2, MovementData_0x192d0b
	applymovement PLAYER, MovementData_0x192d0f
	applymovement $2, MovementData_0x192d14
	end

Script_LeftCableColosseum:
	special Special_AbortLink
	scall Script_CleanUpFemaleFlagAfterBattle
	dotrigger $0
	domaptrigger COLOSSEUM, $0
	end

Script_LeftMobileBattleRoom:
	special Function101220
	scall Script_WalkOutOfMobileBattleRoom
	dotrigger $0
	domaptrigger MOBILE_BATTLE_ROOM, $0
	end

Script_WalkOutOfMobileBattleRoom:
	applymovement $3, MovementData_0x192d0b
	applymovement PLAYER, MovementData_0x192d0f
	applymovement $3, MovementData_0x192d14
	end

PokeCenter2F_CheckGender:
	checkflag ENGINE_PLAYER_IS_FEMALE
	iftrue .Female
	applymovement2 MovementData_0x192cca
	applymovement PLAYER, MovementData_0x192cde
	end

.Female:
	applymovement2 MovementData_0x192cd8
	applymovement PLAYER, MovementData_0x192ce2
	loadfont
	writetext Text_OhPleaseWait
	closetext
	loadmovesprites
	applymovement2 MovementData_0x192cdc
	spriteface PLAYER, LEFT
	loadfont
	writetext Text_ChangeTheLook
	closetext
	loadmovesprites
	playsound SFX_TINGLE
	applymovement PLAYER, MovementData_0x192d17
	writebyte $80
	special Functionc225
	applymovement PLAYER, MovementData_0x192d1c
	setflag ENGINE_KRIS_IN_CABLE_CLUB
	special Special_ReplaceKrisSprite
	loadfont
	writetext Text_LikeTheLook
	closetext
	loadmovesprites
	showemote EMOTE_SHOCK, PLAYER, 15
	applymovement PLAYER, MovementData_0x192ce5
	end

Script_CleanUpFemaleFlagAfterTrade:
	checkflag ENGINE_KRIS_IN_CABLE_CLUB
	iftrue .Female
	applymovement $2, MovementData_0x192d04
	applymovement PLAYER, MovementData_0x192cf5
	applymovement $2, MovementData_0x192cfe
	end

.Female:
	applymovement $2, MovementData_0x192d04
	applymovement PLAYER, MovementData_0x192d28
	clearflag ENGINE_KRIS_IN_CABLE_CLUB
	playsound SFX_TINGLE
	applymovement PLAYER, MovementData_0x192d17
	writebyte $90
	special Functionc225
	applymovement PLAYER, MovementData_0x192d1c
	special Special_ReplaceKrisSprite
	applymovement PLAYER, MovementData_0x192d2a
	applymovement $2, MovementData_0x192cfe
	end

Script_CleanUpFemaleFlagAfterBattle:
	checkflag ENGINE_KRIS_IN_CABLE_CLUB
	iftrue .Female
	applymovement $3, MovementData_0x192d04
	applymovement PLAYER, MovementData_0x192cf5
	applymovement $3, MovementData_0x192cfe
	end

.Female:
	applymovement $3, MovementData_0x192d04
	applymovement PLAYER, MovementData_0x192d28
	clearflag ENGINE_KRIS_IN_CABLE_CLUB
	playsound SFX_TINGLE
	applymovement PLAYER, MovementData_0x192d17
	writebyte $90
	special Functionc225
	applymovement PLAYER, MovementData_0x192d1c
	special Special_ReplaceKrisSprite
	applymovement PLAYER, MovementData_0x192d2a
	applymovement $3, MovementData_0x192cfe
	end

TimeCapsuleScript_CheckPlayerGender:
	checkflag ENGINE_PLAYER_IS_FEMALE
	iftrue .Female
	checkcode VAR_FACING
	if_equal LEFT, .MaleFacingLeft
	if_equal RIGHT, .MaleFacingRight
	applymovement2 MovementData_0x192cd2
	applymovement PLAYER, MovementData_0x192cec
	end

.MaleFacingLeft:
	applymovement2 MovementData_0x192cd2
	applymovement PLAYER, MovementData_0x192cef
	end

.MaleFacingRight:
	applymovement2 MovementData_0x192cd5
	applymovement PLAYER, MovementData_0x192cf2
	end

.Female:
	checkcode VAR_FACING
	if_equal RIGHT, .FemaleFacingRight
	if_equal LEFT, .FemaleFacingLeft
	applymovement2 MovementData_0x192d33
	applymovement PLAYER, MovementData_0x192d2d
	jump .FemaleContinue

.FemaleFacingRight:
	applymovement2 MovementData_0x192d36
	applymovement PLAYER, MovementData_0x192d2f
	jump .FemaleContinue

.FemaleFacingLeft:
	applymovement2 MovementData_0x192d33
	applymovement PLAYER, MovementData_0x192d31
.FemaleContinue:
	loadfont
	writetext Text_OhPleaseWait
	closetext
	loadmovesprites
	checkcode VAR_FACING
	if_not_equal UP, .FemaleChangeApperance
	spriteface PLAYER, LEFT
.FemaleChangeApperance:
	loadfont
	writetext Text_ChangeTheLook
	closetext
	loadmovesprites
	playsound SFX_TINGLE
	applymovement PLAYER, MovementData_0x192d17
	writebyte $80
	special Functionc225
	applymovement PLAYER, MovementData_0x192d22
	faceperson PLAYER, $4
	setflag ENGINE_KRIS_IN_CABLE_CLUB
	special Special_ReplaceKrisSprite
	loadfont
	writetext Text_LikeTheLook
	closetext
	loadmovesprites
	showemote EMOTE_SHOCK, PLAYER, 15
	applymovement PLAYER, MovementData_0x192d2d
	end

Script_LeftTimeCapsule:
	special Special_AbortLink
	checkflag ENGINE_KRIS_IN_CABLE_CLUB
	iftrue .Female
	applymovement $4, MovementData_0x192d08
	applymovement PLAYER, MovementData_0x192cf9
	applymovement $4, MovementData_0x192d01
	jump .Done

.Female:
	applymovement $4, MovementData_0x192d08
	applymovement PLAYER, MovementData_0x192cfc
	clearflag ENGINE_KRIS_IN_CABLE_CLUB
	playsound SFX_TINGLE
	applymovement PLAYER, MovementData_0x192d17
	writebyte $90
	special Functionc225
	applymovement PLAYER, MovementData_0x192d1c
	special Special_ReplaceKrisSprite
	applymovement PLAYER, MovementData_0x192cfc
	applymovement $4, MovementData_0x192d01
.Done:
	dotrigger $0
	domaptrigger TIME_CAPSULE, $0
	end

MapPokeCenter2FSignpost0Script:
	refreshscreen $0
	special Functionc2da
	loadmovesprites
	end

OfficerScript_0x192c9a:
	faceplayer
	loadfont
	checkevent EVENT_MYSTERY_GIFT_DELIVERY_GUY
	iftrue .AlreadyGotGift
	writetext Text_MysteryGiftDeliveryGuy_Intro
	yesorno
	iffalse .RefusedGift
	writetext Text_MysteryGiftDeliveryGuy_HereYouGo
	keeptextopen
	waitbutton
	special Special_GetMysteryGiftItem
	iffalse .BagIsFull
	itemnotify
	setevent EVENT_MYSTERY_GIFT_DELIVERY_GUY
.AlreadyGotGift:
	writetext Text_MysteryGiftDeliveryGuy_Outro
	closetext
	loadmovesprites
	end

.BagIsFull:
	writetext Text_MysteryGiftDeliveryGuy_NoRoom
	closetext
	loadmovesprites
	end

.RefusedGift:
	writetext Text_MysteryGiftDeliveryGuy_SaidNo
	closetext
	loadmovesprites
	end

MovementData_0x192cca:
	slow_step_up
	slow_step_left
	turn_head_right
	step_end

MovementData_0x192cce:
	slow_step_up
	slow_step_left
	turn_head_down
	step_end

MovementData_0x192cd2:
	slow_step_left
	turn_head_down
	step_end

MovementData_0x192cd5:
	slow_step_right
	turn_head_down
	step_end

MovementData_0x192cd8:
	slow_step_up
	slow_step_left
	turn_head_right
	step_end

MovementData_0x192cdc:
	turn_head_right
	step_end

MovementData_0x192cde:
	step_up
	step_up
	step_up
	step_end

MovementData_0x192ce2:
	step_up
	step_up
	step_end

MovementData_0x192ce5:
	step_up
	step_end

MovementData_0x192ce7:
	step_up
	step_up
	step_right
	step_up
	step_end

MovementData_0x192cec:
	step_up
	step_up
	step_end

MovementData_0x192cef:
	step_left
	step_up
	step_end

MovementData_0x192cf2:
	step_right
	step_up
	step_end

MovementData_0x192cf5:
	step_down
	step_down
	step_down
	step_end

MovementData_0x192cf9:
	step_down
	step_down
	step_end

MovementData_0x192cfc:
	step_down
	step_end

MovementData_0x192cfe:
	slow_step_right
	slow_step_down
	step_end

MovementData_0x192d01:
	slow_step_right
	turn_head_down
	step_end

MovementData_0x192d04:
	slow_step_up
	slow_step_left
	turn_head_right
	step_end

MovementData_0x192d08:
	slow_step_left
	turn_head_right
	step_end

MovementData_0x192d0b:
	slow_step_up
	slow_step_left
	turn_head_right
	step_end

MovementData_0x192d0f:
	step_down
	step_left
	step_down
	step_down
	step_end

MovementData_0x192d14:
	slow_step_right
	slow_step_down
	step_end

MovementData_0x192d17:
	turn_head_down
	turn_head_left
	turn_head_up
	turn_head_right
	step_end

MovementData_0x192d1c:
	turn_head_down
	turn_head_left
	turn_head_up
	turn_head_right
	turn_head_left
	step_end

MovementData_0x192d22:
	turn_head_down
	turn_head_left
	turn_head_up
	turn_head_right
	turn_head_down
	step_end

MovementData_0x192d28:
	step_down
	step_end

MovementData_0x192d2a:
	step_down
	step_down
	step_end

MovementData_0x192d2d:
	step_up
	step_end

MovementData_0x192d2f:
	step_right
	step_end

MovementData_0x192d31:
	step_left
	step_end

MovementData_0x192d33:
	slow_step_left
	turn_head_right
	step_end

MovementData_0x192d36:
	slow_step_right
	turn_head_left
	step_end

Text_BattleReceptionistMobile:
	text "Would you like to"
	line "battle over a GAME"

	para "LINK cable or by"
	line "mobile phone?"
	done

Text_TradeReceptionistMobile:
	text "Would you like to"
	line "trade over a GAME"

	para "LINK cable or by"
	line "mobile phone?"
	done

Text_ThisWayToMobileRoom:
	text "This way to the"
	line "MOBILE ROOM."
	done

Text_BattleReceptionistIntro:
	text "Welcome to CABLE"
	line "CLUB COLOSSEUM."

	para "You may battle a"
	line "friend here."

	para "Would you like to"
	line "battle?"
	done

Text_TradeReceptionistIntro:
	text "Welcome to CABLE"
	line "TRADE CENTER."

	para "You may trade your"
	line "#MON here with"
	cont "a friend."

	para "Would you like to"
	line "trade?"
	done

Text_TimeCapsuleReceptionistIntro:
	text "Welcome to CABLE"
	line "CLUB TIME CAPSULE."

	para "You can travel to"
	line "the past and trade"
	cont "your #MON."

	para "Would you like to"
	line "trade across time?"
	done

Text_FriendNotReady:
	text "Your friend is not"
	line "ready."
	prompt

Text_MustSaveGame:
	text "Before opening the"
	line "link, you must"
	cont "save your game."
	done

Text_PleaseWait:
	text "Please wait."
	done

Text_LinkTimedOut:
	text "The link has been"
	line "closed because of"
	cont "inactivity."

	para "Please contact"
	line "your friend and"
	cont "come again."
	prompt

Text_PleaseComeAgain:
	text "Please come again."
	prompt

Text_PleaseComeIn:
	text "Please come in."
	prompt

Text_TemporaryStagingInLinkRoom:
	text "We'll put you in"
	line "the link room for"
	cont "the time being."
	done

Text_CantLinkToThePast:
	text "You can't link to"
	line "the past here."
	prompt

Text_IncompatibleRooms:
	text "Incompatible rooms"
	line "were chosen."
	prompt

Text_PleaseComeIn2:
	text "Please come in."
	done

Text_PleaseEnter:
	text "Please enter."
	prompt

Text_RejectNewMon:
	text "Sorry--@"
	text_from_ram StringBuffer1
	text ""
	line "can't be taken."
	prompt

Text_RejectMonWithNewMove:
	text "You can't take the"
	line "@"
	text_from_ram StringBuffer1
	text " with a"
	cont "@"
	text_from_ram StringBuffer2
	text "."
	prompt

Text_RejectMonWithMail:
	text "You can't take the"
	line "@"
	text_from_ram StringBuffer1
	text " that"
	cont "has MAIL with you."
	prompt

Text_TimeCapsuleClosed:
	text "I'm sorry--the"
	line "TIME CAPSULE is"
	cont "being adjusted."
	done

Text_TradeRoomClosed:
	text "I'm sorry--the"
	line "TRADE MACHINE is"
	cont "being adjusted."
	done

Text_BattleRoomClosed:
	text "I'm sorry--the"
	line "BATTLE MACHINE is"
	cont "being adjusted."
	done

Text_MysteryGiftDeliveryGuy_Intro:
	text "Hello! You're"
	line "<PLAYER>, right?"

	para "I have some-"
	line "thing for you."
	done

Text_MysteryGiftDeliveryGuy_HereYouGo:
	text "Here you go!"
	done

Text_MysteryGiftDeliveryGuy_Outro:
	text "We hope to serve"
	line "you again."
	done

Text_MysteryGiftDeliveryGuy_NoRoom:
	text "Oh, you have no"
	line "space for this."

	para "Stop in at any"
	line "#MON CENTER"

	para "across the country"
	line "to pick it up."
	done

Text_MysteryGiftDeliveryGuy_SaidNo:
	text "No? That's very"
	line "strange…"
	done

Text_OhPleaseWait:
	text "Oh, please wait."
	done

Text_ChangeTheLook:
	text "We need to change"
	line "the look here…"
	done

Text_LikeTheLook:
	text "How does this"
	line "style look to you?"
	done

Text_BrokeStadiumRules:
	text "Excuse me!"

	para "For STADIUM rules,"
	line "please bring six"

	para "different #MON,"
	line "excluding EGGS."

	para "The six #MON"
	line "must be different."

	para "Also, they must"
	line "not be holding"
	cont "identical items."

	para "Please come back"
	line "when you're ready."
	done

PokeCenter2F_MapEventHeader:
	; filler
	db 0, 0

.Warps:
	db 6
	warp_def $7, $0, -1, POKECENTER_2F
	warp_def $0, $5, 1, TRADE_CENTER
	warp_def $0, $9, 1, COLOSSEUM
	warp_def $2, $d, 1, TIME_CAPSULE
	warp_def $0, $6, 1, MOBILE_TRADE_ROOM_MOBILE
	warp_def $0, $a, 1, MOBILE_BATTLE_ROOM

.XYTriggers:
	db 0

.Signposts:
	db 1
	signpost 3, 7, SIGNPOST_READ, MapPokeCenter2FSignpost0Script

.PersonEvents:
	db 4
	person_event SPRITE_LINK_RECEPTIONIST, 2, 5, $6, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, LinkReceptionistScript_Trade, -1
	person_event SPRITE_LINK_RECEPTIONIST, 2, 9, $6, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, LinkReceptionistScript_Battle, -1
	person_event SPRITE_LINK_RECEPTIONIST, 3, 13, $6, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, LinkReceptionistScript_TimeCapsule, -1
	person_event SPRITE_OFFICER, 1, 1, $6, 0, 0, -1, -1, 0, 0, 0, OfficerScript_0x192c9a, EVENT_MYSTERY_GIFT_DELIVERY_GUY