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
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
|
ElmsLab_MapScriptHeader: ; 0x78b5d
; trigger count
db 6
; triggers
dw UnknownScript_0x78b7a, $0000
dw UnknownScript_0x78b7e, $0000
dw UnknownScript_0x78b7f, $0000
dw UnknownScript_0x78b80, $0000
dw UnknownScript_0x78b81, $0000
dw UnknownScript_0x78b82, $0000
; callback count
db 1
; callbacks
dbw 2, UnknownScript_0x78b83
; 0x78b7a
UnknownScript_0x78b7a: ; 0x78b7a
priorityjump UnknownScript_0x78b8c
end
; 0x78b7e
UnknownScript_0x78b7e: ; 0x78b7e
end
; 0x78b7f
UnknownScript_0x78b7f: ; 0x78b7f
end
; 0x78b80
UnknownScript_0x78b80: ; 0x78b80
end
; 0x78b81
UnknownScript_0x78b81: ; 0x78b81
end
; 0x78b82
UnknownScript_0x78b82: ; 0x78b82
end
; 0x78b83
UnknownScript_0x78b83: ; 0x78b83
checktriggers
iftrue UnknownScript_0x78b8b
moveperson $2, $3, $4
UnknownScript_0x78b8b: ; 0x78b8b
return
; 0x78b8c
UnknownScript_0x78b8c: ; 0x78b8c
applymovement $0, MovementData_0x78f67
showemote $0, $2, 15
spriteface $2, $3
loadfont
2writetext UnknownText_0x78fb6
UnknownScript_0x78b9b: ; 0x78b9b
yesorno
iftrue UnknownScript_0x78ba5
2writetext UnknownText_0x7911a
2jump UnknownScript_0x78b9b
; 0x78ba5
UnknownScript_0x78ba5: ; 0x78ba5
2writetext UnknownText_0x790fa
keeptextopen
2writetext UnknownText_0x7913a
closetext
loadmovesprites
playsound $00bc
pause 30
showemote $0, $2, 10
spriteface $2, $0
loadfont
2writetext UnknownText_0x791ae
closetext
loadmovesprites
loadfont
spriteface $2, $3
2writetext UnknownText_0x791df
closetext
loadmovesprites
applymovement $2, MovementData_0x78fa0
spriteface $0, $1
applymovement $2, MovementData_0x78fa2
spriteface $0, $3
loadfont
2writetext UnknownText_0x792ff
closetext
dotrigger $1
loadmovesprites
end
; 0x78be0
ProfElmScript: ; 0x78be0
faceplayer
loadfont
checkevent EVENT_GOT_SS_TICKET_FROM_ELM
iftrue UnknownScript_0x78bee
checkevent $0044
iftrue ElmGiveTicketScript
UnknownScript_0x78bee: ; 0x78bee
checkevent EVENT_GOT_MASTER_BALL_FROM_ELM
iftrue UnknownScript_0x78bfa
checkflag $0022
iftrue ElmGiveMasterBallScript
UnknownScript_0x78bfa: ; 0x78bfa
checkevent EVENT_GOT_EVERSTONE_FROM_ELM
iftrue UnknownScript_0x78e16
checkevent EVENT_SHOWED_TOGEPI_TO_ELM
iftrue UnknownScript_0x78e03
checkevent EVENT_TOLD_ELM_ABOUT_TOGEPI_OVER_THE_PHONE
iffalse UnknownScript_0x78c35
writebyte TOGEPI
special $0043
iftrue ShowElmTogepiScript
writebyte TOGETIC
special $0043
iftrue ShowElmTogepiScript
2writetext UnknownText_0x79a40
closetext
loadmovesprites
end
; 0x78c22
UnknownScript_0x78c22: ; 0x78c22
writebyte TOGEPI
special $0043
iftrue ShowElmTogepiScript
writebyte TOGETIC
special $0043
iftrue ShowElmTogepiScript
2jump UnknownScript_0x78c41
; 0x78c35
UnknownScript_0x78c35: ; 0x78c35
checkevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
iffalse UnknownScript_0x78c41
checkevent EVENT_TOGEPI_HATCHED
iftrue UnknownScript_0x78c22
UnknownScript_0x78c41: ; 0x78c41
checkevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE ; why are we checking it again?
iftrue ElmWaitingEggHatchScript
checkflag $001b
iftrue ElmAideHasEggScript
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue ElmStudyingEggScript
checkevent EVENT_GOT_MYSTERY_EGG_FROM_MR_POKEMON
iftrue ElmAfterTheftScript
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
iftrue ElmDescribesMrPokemonScript
2writetext UnknownText_0x79375
closetext
loadmovesprites
end
; 0x78c65
LabTryToLeaveScript: ; 0x78c65
spriteface $2, $0
loadfont
2writetext LabWhereGoingText
closetext
loadmovesprites
applymovement $0, MovementData_0x78f70
end
; 0x78c73
CyndaquilPokeBallScript: ; 0x78c73
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
iftrue LookAtElmPokeBallScript
spriteface $2, $0
refreshscreen $0
pokepic CYNDAQUIL
cry CYNDAQUIL
closetext
pokepicyesorno
loadfont
2writetext TakeCyndaquilText
yesorno
iffalse DidntChooseStarterScript
disappear $4
setevent EVENT_GOT_CYNDAQUIL_FROM_ELM
2writetext ChoseStarterText
keeptextopen
waitbutton
pokenamemem CYNDAQUIL, $0
2writetext ReceivedStarterText
playsound $0002
waitbutton
keeptextopen
givepoke CYNDAQUIL, 5, BERRY, 0
loadmovesprites
checkcode $9
if_equal $3, ElmDirectionsScript
applymovement $0, AfterCyndaquilMovement
2jump ElmDirectionsScript
; 0x78cb5
TotodilePokeBallScript: ; 0x78cb5
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
iftrue LookAtElmPokeBallScript
spriteface $2, $0
refreshscreen $0
pokepic TOTODILE
cry TOTODILE
closetext
pokepicyesorno
loadfont
2writetext TakeTotodileText
yesorno
iffalse DidntChooseStarterScript
disappear $5
setevent EVENT_GOT_TOTODILE_FROM_ELM
2writetext ChoseStarterText
keeptextopen
waitbutton
pokenamemem TOTODILE, $0
2writetext ReceivedStarterText
playsound $0002
waitbutton
keeptextopen
givepoke TOTODILE, 5, BERRY, 0
loadmovesprites
applymovement $0, AfterTotodileMovement
2jump ElmDirectionsScript
; 0x78cf1
ChikoritaPokeBallScript: ; 0x78cf1
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
iftrue LookAtElmPokeBallScript
spriteface $2, $0
refreshscreen $0
pokepic CHIKORITA
cry CHIKORITA
closetext
pokepicyesorno
loadfont
2writetext TakeChikoritaText
yesorno
iffalse DidntChooseStarterScript
disappear $6
setevent EVENT_GOT_CHIKORITA_FROM_ELM
2writetext ChoseStarterText
keeptextopen
waitbutton
pokenamemem CHIKORITA, $0
2writetext ReceivedStarterText
playsound $0002
waitbutton
keeptextopen
givepoke CHIKORITA, 5, BERRY, 0
loadmovesprites
applymovement $0, AfterChikoritaMovement
2jump ElmDirectionsScript
; 0x78d2d
DidntChooseStarterScript: ; 0x78d2d
2writetext DidntChooseStarterText
closetext
loadmovesprites
end
; 0x78d33
ElmDirectionsScript: ; 0x78d33
spriteface $0, $1
loadfont
2writetext ElmDirectionsText1
closetext
loadmovesprites
addcellnum $4
loadfont
2writetext GotElmsNumberText
playsound $0093
waitbutton
closetext
loadmovesprites
spriteface $2, $2
loadfont
2writetext ElmDirectionsText2
closetext
loadmovesprites
spriteface $2, $0
loadfont
2writetext ElmDirectionsText3
closetext
loadmovesprites
setevent EVENT_GOT_A_POKEMON_FROM_ELM
setevent $06be
dotrigger $5
domaptrigger GROUP_NEW_BARK_TOWN, MAP_NEW_BARK_TOWN, $1
end
; 0x78d67
ElmDescribesMrPokemonScript: ; 0x78d67
2writetext ElmDescribesMrPokemonText
closetext
loadmovesprites
end
; 0x78d6d
LookAtElmPokeBallScript: ; 0x78d6d
loadfont
2writetext ElmPokeBallText
closetext
loadmovesprites
end
; 0x78d74
MapElmsLabSignpost0Script: ; 0x78d74
loadfont
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
iftrue UnknownScript_0x78d81
2writetext UnknownText_0x79690
closetext
loadmovesprites
end
; 0x78d81
UnknownScript_0x78d81: ; 0x78d81
2writetext UnknownText_0x796aa
yesorno
iftrue UnknownScript_0x78d8a
loadmovesprites
end
; 0x78d8a
UnknownScript_0x78d8a: ; 0x78d8a
special $009d
special $001b
playmusic $0000
writebyte $1
special $003e
pause 30
special $003d
loadmovesprites
end
; 0x78d9f
ElmAfterTheftDoneScript: ; 0x78d9f
closetext
loadmovesprites
end
; 0x78da2
ElmAfterTheftScript: ; 0x78da2
2writetext ElmAfterTheftText1
checkitem MYSTERY_EGG
iffalse ElmAfterTheftDoneScript
keeptextopen
2writetext ElmAfterTheftText2
closetext
takeitem MYSTERY_EGG, 1
2call ElmJumpBackScript1
2writetext ElmAfterTheftText3
closetext
2call ElmJumpBackScript2
2writetext ElmAfterTheftText4
keeptextopen
2writetext ElmAfterTheftText5
keeptextopen
setevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
setflag $0010
domaptrigger GROUP_ROUTE_29, MAP_ROUTE_29, $1
clearevent $0715
setevent $0714
2writetext ElmAfterTheftText6
closetext
loadmovesprites
dotrigger $6
end
; 0x78ddc
ElmStudyingEggScript: ; 0x78ddc
2writetext ElmStudyingEggText
closetext
loadmovesprites
end
; 0x78de2
ElmAideHasEggScript: ; 0x78de2
2writetext ElmAideHasEggText
closetext
loadmovesprites
end
; 0x78de8
ElmWaitingEggHatchScript: ; 0x78de8
2writetext ElmWaitingEggHatchText
closetext
loadmovesprites
end
; 0x78dee
ShowElmTogepiScript: ; 0x78dee
2writetext ShowElmTogepiText1
closetext
loadmovesprites
showemote $0, $2, 15
setevent EVENT_SHOWED_TOGEPI_TO_ELM
loadfont
2writetext ShowElmTogepiText2
keeptextopen
2writetext ShowElmTogepiText3
keeptextopen
UnknownScript_0x78e03: ; 0x78e03
2writetext ElmGiveEverstoneText1
keeptextopen
verbosegiveitem EVERSTONE, 1
iffalse UnknownScript_0x78e1a
2writetext ElmGiveEverstoneText2
closetext
loadmovesprites
setevent EVENT_GOT_EVERSTONE_FROM_ELM
end
; 0x78e16
UnknownScript_0x78e16: ; 0x78e16
2writetext UnknownText_0x79c37
closetext
UnknownScript_0x78e1a: ; 0x78e1a
loadmovesprites
end
; 0x78e1c
ElmGiveMasterBallScript: ; 0x78e1c
2writetext ElmGiveMasterBallText1
keeptextopen
verbosegiveitem MASTER_BALL, 1
iffalse .notdone
setevent EVENT_GOT_MASTER_BALL_FROM_ELM
2writetext ElmGiveMasterBallText2
closetext
.notdone
loadmovesprites
end
; 0x78e2f
ElmGiveTicketScript: ; 0x78e2f
2writetext ElmGiveTicketText1
keeptextopen
verbosegiveitem S_S_TICKET, 1
setevent EVENT_GOT_SS_TICKET_FROM_ELM
2writetext ElmGiveTicketText2
closetext
loadmovesprites
end
; 0x78e3f
ElmJumpBackScript1: ; 0x78e3f
loadmovesprites
checkcode $9
if_equal $0, UnknownScript_0x78e6d
if_equal $1, UnknownScript_0x78e67
if_equal $2, UnknownScript_0x78e73
if_equal $3, UnknownScript_0x78e79
end
; 0x78e53
ElmJumpBackScript2: ; 0x78e53
loadmovesprites
checkcode $9
if_equal $0, UnknownScript_0x78e67
if_equal $1, UnknownScript_0x78e6d
if_equal $2, UnknownScript_0x78e79
if_equal $3, UnknownScript_0x78e73
end
; 0x78e67
UnknownScript_0x78e67: ; 0x78e67
applymovement $2, MovementData_0x78f90
loadfont
end
; 0x78e6d
UnknownScript_0x78e6d: ; 0x78e6d
applymovement $2, MovementData_0x78f94
loadfont
end
; 0x78e73
UnknownScript_0x78e73: ; 0x78e73
applymovement $2, MovementData_0x78f98
loadfont
end
; 0x78e79
UnknownScript_0x78e79: ; 0x78e79
applymovement $2, MovementData_0x78f9c
loadfont
end
; 0x78e7f
UnknownScript_0x78e7f: ; 0x78e7f
applymovement $3, MovementData_0x78f7e
spriteface $0, $0
2call UnknownScript_0x78e9d
applymovement $3, MovementData_0x78f87
end
; 0x78e8e
UnknownScript_0x78e8e: ; 0x78e8e
applymovement $3, MovementData_0x78f82
spriteface $0, $0
2call UnknownScript_0x78e9d
applymovement $3, MovementData_0x78f8b
end
; 0x78e9d
UnknownScript_0x78e9d: ; 0x78e9d
loadfont
2writetext UnknownText_0x79f38
keeptextopen
verbosegiveitem POTION, 1
2writetext UnknownText_0x79f65
closetext
loadmovesprites
dotrigger $2
end
; 0x78ead
UnknownScript_0x78ead: ; 0x78ead
applymovement $3, MovementData_0x78f7e
spriteface $0, $0
2call UnknownScript_0x78ecb
applymovement $3, MovementData_0x78f87
end
; 0x78ebc
UnknownScript_0x78ebc: ; 0x78ebc
applymovement $3, MovementData_0x78f82
spriteface $0, $0
2call UnknownScript_0x78ecb
applymovement $3, MovementData_0x78f8b
end
; 0x78ecb
UnknownScript_0x78ecb: ; 0x78ecb
loadfont
2writetext UnknownText_0x7a078
keeptextopen
itemtotext POKE_BALL, $1
2call UnknownScript_0x78ee2
giveitem POKE_BALL, $5
2writetext UnknownText_0x7a09a
keeptextopen
itemnotify
loadmovesprites
dotrigger $2
end
; 0x78ee2
UnknownScript_0x78ee2: ; 0x78ee2
jumpstd $002f
end
; 0x78ee6
ElmsAideScript: ; 0x78ee6
faceplayer
loadfont
checkevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
iftrue UnknownScript_0x78f0c
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x78f06
checkevent EVENT_GOT_MYSTERY_EGG_FROM_MR_POKEMON
iftrue UnknownScript_0x78f00
2writetext UnknownText_0x79f65
closetext
loadmovesprites
end
; 0x78f00
UnknownScript_0x78f00: ; 0x78f00
2writetext UnknownText_0x79f95
closetext
loadmovesprites
end
; 0x78f06
UnknownScript_0x78f06: ; 0x78f06
2writetext UnknownText_0x7a09a
closetext
loadmovesprites
end
; 0x78f0c
UnknownScript_0x78f0c: ; 0x78f0c
2writetext UnknownText_0x79c65
closetext
loadmovesprites
end
; 0x78f12
UnknownScript_0x78f12: ; 0x78f12
applymovement $0, MovementData_0x78f72
; 0x78f16
MeetCopScript: ; 0x78f16
applymovement $0, MovementData_0x78f74
spriteface $7, $2
loadfont
2writetext UnknownText_0x7a0f0
keeptextopen
special $0024
2writetext UnknownText_0x7a1c0
closetext
loadmovesprites
applymovement $7, MovementData_0x78f78
disappear $7
dotrigger $2
end
; 0x78f33
MapElmsLabSignpost14Script: ; 0x78f33
loadfont
checkflag $0043
iftrue UnknownScript_0x78f49
checkevent EVENT_ELM_CALLED_ABOUT_STOLEN_POKEMON
iftrue UnknownScript_0x78f43
2jump UnknownScript_0x78f49
; 0x78f43
UnknownScript_0x78f43: ; 0x78f43
2writetext UnknownText_0x7a231
closetext
loadmovesprites
end
; 0x78f49
UnknownScript_0x78f49: ; 0x78f49
2writetext UnknownText_0x7a1fd
closetext
loadmovesprites
end
; 0x78f4f
MapElmsLabSignpost5Script: ; 0x78f4f
jumptext UnknownText_0x7a24c
; 0x78f52
MapElmsLabSignpost6Script: ; 0x78f52
jumptext UnknownText_0x7a28a
; 0x78f55
MapElmsLabSignpost7Script: ; 0x78f55
jumptext UnknownText_0x7a2c6
; 0x78f58
MapElmsLabSignpost8Script: ; 0x78f58
jumptext UnknownText_0x7a315
; 0x78f5b
MapElmsLabSignpost13Script: ; 0x78f5b
jumptext UnknownText_0x7a370
; 0x78f5e
MapElmsLabSignpost15Script: ; 0x78f5e
jumptext UnknownText_0x7a3a6
; 0x78f61
UnknownScript_0x78f61: ; 0x78f61
jumpstd $000d
; 0x78f64
MapElmsLabSignpost12Script: ; 0x78f64
jumpstd $0001
; 0x78f67
MovementData_0x78f67: ; 0x78f67
step_up
step_up
step_up
step_up
step_up
step_up
step_up
turn_head_left
step_end
; 0x78f70
MovementData_0x78f70: ; 0x78f70
step_up
step_end
; 0x78f72
MovementData_0x78f72: ; 0x78f72
step_left
step_end
; 0x78f74
MovementData_0x78f74: ; 0x78f74
step_up
step_up
turn_head_right
step_end
; 0x78f78
MovementData_0x78f78: ; 0x78f78
step_down
step_down
step_down
step_down
step_down
step_end
; 0x78f7e
MovementData_0x78f7e: ; 0x78f7e
step_right
step_right
turn_head_up
step_end
; 0x78f82
MovementData_0x78f82: ; 0x78f82
step_right
step_right
step_right
turn_head_up
step_end
; 0x78f87
MovementData_0x78f87: ; 0x78f87
step_left
step_left
turn_head_down
step_end
; 0x78f8b
MovementData_0x78f8b: ; 0x78f8b
step_left
step_left
step_left
turn_head_down
step_end
; 0x78f90
MovementData_0x78f90: ; 0x78f90
fix_facing
big_step_up
remove_fixed_facing
step_end
; 0x78f94
MovementData_0x78f94: ; 0x78f94
fix_facing
big_step_down
remove_fixed_facing
step_end
; 0x78f98
MovementData_0x78f98: ; 0x78f98
fix_facing
big_step_left
remove_fixed_facing
step_end
; 0x78f9c
MovementData_0x78f9c: ; 0x78f9c
fix_facing
big_step_right
remove_fixed_facing
step_end
; 0x78fa0
MovementData_0x78fa0: ; 0x78fa0
step_up
step_end
; 0x78fa2
MovementData_0x78fa2: ; 0x78fa2
step_right
step_right
step_up
turn_head_down
step_end
; 0x78fa7
AfterCyndaquilMovement: ; 0x78fa7
step_left
step_up
turn_head_up
step_end
; 0x78fab
AfterTotodileMovement: ; 0x78fab
step_left
step_left
step_up
turn_head_up
step_end
; 0x78fb0
AfterChikoritaMovement: ; 0x78fb0
step_left
step_left
step_left
step_up
turn_head_up
step_end
; 0x78fb6
UnknownText_0x78fb6: ; 0x78fb6
text "ELM: ", $14, "!"
line "There you are!"
para "I needed to ask"
line "you a favor."
para "I'm conducting new"
line "#MON research"
para "right now. I was"
line "wondering if you"
para "could help me with"
line "it, ", $14, "."
para "You see…"
para "I'm writing a"
line "paper that I want"
para "to present at a"
line "conference."
para "But there are some"
line "things I don't"
para "quite understand"
line "yet."
para "So!"
para "I'd like you to"
line "raise a #MON"
para "that I recently"
line "caught."
done
; 0x790fa
UnknownText_0x790fa: ; 0x790fa
text "Thanks, ", $14, "!"
para "You're a great"
line "help!"
done
; 0x7911a
UnknownText_0x7911a: ; 0x7911a
text "But… Please, I"
line "need your help!"
done
; 0x7913a
UnknownText_0x7913a: ; 0x7913a
text "When I announce my"
line "findings, I'm sure"
para "we'll delve a bit"
line "deeper into the"
para "many mysteries of"
line "#MON."
para "You can count on"
line "it!"
done
; 0x791ae
UnknownText_0x791ae: ; 0x791ae
text "Oh, hey! I got an"
line "e-mail!"
para $56, $56, $56
line "Hm… Uh-huh…"
para "Okay…"
done
; 0x791df
UnknownText_0x791df: ; 0x791df
text "Hey, listen."
para "I have an acquain-"
line "tance called MR."
cont "#MON."
para "He keeps finding"
line "weird things and"
para "raving about his"
line "discoveries."
para "Anyway, I just got"
line "an e-mail from him"
para "saying that this"
line "time it's real."
para "It is intriguing,"
line "but we're busy"
para "with our #MON"
line "research…"
para "Wait!"
para "I know!"
para $14, ", can you"
line "go in our place?"
done
; 0x792ff
UnknownText_0x792ff: ; 0x792ff
text "I want you to"
line "raise one of the"
para "#MON contained"
line "in these BALLS."
para "You'll be that"
line "#MON's first"
cont "partner, ", $14, "!"
para "Go on. Pick one!"
done
; 0x79375
UnknownText_0x79375: ; 0x79375
text "If a wild #MON"
line "appears, let your"
cont "#MON battle it!"
done
; 0x793a7
LabWhereGoingText: ; 0x793a7
text "ELM: Wait! Where"
line "are you going?"
done
; 0x793c8
TakeCyndaquilText: ; 0x793c8
text "ELM: You'll take"
line "CYNDAQUIL, the"
cont "fire #MON?"
done
; 0x793f3
TakeTotodileText: ; 0x793f3
text "ELM: Do you want"
line "TOTODILE, the"
cont "water #MON?"
done
; 0x7941f
TakeChikoritaText: ; 0x7941f
text "ELM: So, you like"
line "CHIKORITA, the"
cont "grass #MON?"
done
; 0x7944d
DidntChooseStarterText: ; 0x7944d
text "ELM: Think it over"
line "carefully."
para "Your partner is"
line "important."
done
; 0x79487
ChoseStarterText: ; 0x79487
text "ELM: I think"
line "that's a great"
cont "#MON too!"
done
; 0x794ad
ReceivedStarterText: ; 0x794ad
text $52, " received"
line "@"
text_from_ram $d099
text "!"
done
; 0x794c0
ElmDirectionsText1: ; 0x794c0
text "MR.#MON lives a"
line "little bit beyond"
para "CHERRYGROVE, the"
line "next city over."
para "It's almost a"
line "direct route"
para "there, so you"
line "can't miss it."
para "But just in case,"
line "here's my phone"
para "number. Call me if"
line "anything comes up!"
done
; 0x79581
ElmDirectionsText2: ; 0x79581
text "If your #MON is"
line "hurt, you should"
para "heal it with this"
line "machine."
para "Feel free to use"
line "it anytime."
done
; 0x795db
ElmDirectionsText3: ; 0x795db
text $14, ", I'm"
line "counting on you!"
done
; 0x795f3
GotElmsNumberText: ; 0x795f3
text $52, " got ELM's"
line "phone number."
done
; 0x7960d
ElmDescribesMrPokemonText: ; 0x7960d
text "MR.#MON goes"
line "everywhere and"
cont "finds rarities."
para "Too bad they're"
line "just rare and"
cont "not very useful…"
done
; 0x79668
ElmPokeBallText: ; 0x79668
text "It contains a"
line "#MON caught by"
cont "PROF.ELM."
done
; 0x79690
UnknownText_0x79690: ; 0x79690
text "I wonder what this"
line "does?"
done
; 0x796aa
UnknownText_0x796aa: ; 0x796aa
text "Would you like to"
line "heal your #MON?"
done
; 0x796cd
ElmAfterTheftText1: ; 0x796cd
text "ELM: ", $14, ", this"
line "is terrible…"
para "Oh, yes, what was"
line "MR.#MON's big"
cont "discovery?"
done
; 0x79712
ElmAfterTheftText2: ; 0x79712
text $52, " handed"
line "the MYSTERY EGG to"
cont "PROF.ELM."
done
; 0x79739
ElmAfterTheftText3: ; 0x79739
text "ELM: This?"
done
; 0x79745
ElmAfterTheftText4: ; 0x79745
text "But… Is it a"
line "#MON EGG?"
para "If it is, it is a"
line "great discovery!"
done
; 0x79780
ElmAfterTheftText5: ; 0x79780
text "ELM: What?!?"
para "PROF.OAK gave you"
line "a #DEX?"
para $14, ", is that"
line "true? Th-that's"
cont "incredible!"
para "He is superb at"
line "seeing the poten-"
cont "tial of people as"
cont "trainers."
para "Wow, ", $14, ". You"
line "may have what it"
para "takes to become"
line "the CHAMPION."
para "You seem to be"
line "getting on great"
cont "with #MON too."
para "You should take"
line "the #MON GYM"
cont "challenge."
para "The closest GYM"
line "would be the one"
cont "in VIOLET CITY."
done
; 0x798cf
ElmAfterTheftText6: ; 0x798cf
text "…", $14, ". The"
line "road to the"
para "championship will"
line "be a long one."
para "Before you leave,"
line "make sure that you"
cont "talk to your mom."
done
; 0x7993c
ElmStudyingEggText: ; 0x7993c
text "ELM: Don't give"
line "up! I'll call if"
para "I learn anything"
line "about that EGG!"
done
; 0x7997d
ElmAideHasEggText: ; 0x7997d
text "ELM: ", $14, "?"
line "Didn't you meet my"
cont "assistant?"
para "He should have met"
line "you with the EGG"
para "at VIOLET CITY's"
line "#MON CENTER."
para "You must have just"
line "missed him. Try to"
cont "catch him there."
done
; 0x79a1b
ElmWaitingEggHatchText: ; 0x79a1b
text "ELM: Hey, has that"
line "EGG changed any?"
done
; 0x79a40
UnknownText_0x79a40: ; 0x79a40
text $14, "? I thought"
line "the EGG hatched."
para "Where is the"
line "#MON?"
done
; 0x79a72
ShowElmTogepiText1: ; 0x79a72
text "ELM: ", $14, ", you"
line "look great!"
done
; 0x79a8b
ShowElmTogepiText2: ; 0x79a8b
text "What?"
line "That #MON!?!"
done
; 0x79a9f
ShowElmTogepiText3: ; 0x79a9f
text "The EGG hatched!"
line "So, #MON are"
cont "born from EGGS…"
para "No, perhaps not"
line "all #MON are."
para "Wow, there's still"
line "a lot of research"
cont "to be done."
done
; 0x79b1c
ElmGiveEverstoneText1: ; 0x79b1c
text "Thanks, ", $14, "!"
line "You're helping"
para "unravel #MON"
line "mysteries for us!"
para "I want you to have"
line "this as a token of"
cont "our appreciation."
done
; 0x79b8d
ElmGiveEverstoneText2: ; 0x79b8d
text "That's an"
line "EVERSTONE."
para "Some species of"
line "#MON evolve"
para "when they grow to"
line "certain levels."
para "A #MON holding"
line "the EVERSTONE"
cont "won't evolve."
para "Give it to a #-"
line "MON you don't want"
cont "to evolve."
done
; 0x79c37
UnknownText_0x79c37: ; 0x79c37
text "ELM: ", $14, ", I'll"
line "call you if any-"
cont "thing comes up."
done
; 0x79c65
UnknownText_0x79c65: ; 0x79c65
text "…sigh… That"
line "stolen #MON."
para "I wonder how it's"
line "doing."
para "They say a #MON"
line "raised by a bad"
para "person turns bad"
line "itself."
done
; 0x79cd0
ElmGiveMasterBallText1: ; 0x79cd0
text "ELM: Hi, ", $14, "!"
line "Thanks to you, my"
para "research is going"
line "great!"
para "Take this as a"
line "token of my"
cont "appreciation."
done
; 0x79d31
ElmGiveMasterBallText2: ; 0x79d31
text "The MASTER BALL is"
line "the best!"
para "It's the ultimate"
line "BALL! It'll catch"
para "any #MON with-"
line "out fail."
para "It's given only to"
line "recognized #MON"
cont "researchers."
para "I think you can"
line "make much better"
para "use of it than I"
line "can, ", $14, "!"
done
; 0x79df3
ElmGiveTicketText1: ; 0x79df3
text "ELM: ", $14, "!"
line "There you are!"
para "I called because I"
line "have something for"
cont "you."
para "See? It's an"
line "S.S.TICKET."
para "Now you can catch"
line "#MON in KANTO."
done
; 0x79e6f
ElmGiveTicketText2: ; 0x79e6f
text "The ship departs"
line "from OLIVINE CITY."
para "But you knew that"
line "already, ", $14, "."
para "After all, you've"
line "traveled all over"
cont "with your #MON."
para "Give my regards to"
line "PROF.OAK in KANTO!"
done
; 0x79f0b
UnknownText_0x79f0b: ; 0x79f0b
text "It's the #MON"
line "EGG being studied"
cont "by PROF.ELM."
done
; 0x79f38
UnknownText_0x79f38: ; 0x79f38
text $14, ", I want"
line "you to have this"
cont "for your errand."
done
; 0x79f65
UnknownText_0x79f65: ; 0x79f65
text "There are only two"
line "of us, so we're"
cont "always busy."
done
; 0x79f95
UnknownText_0x79f95: ; 0x79f95
text "There was a loud"
line "noise outside…"
para "When we went to"
line "look, someone"
cont "stole a #MON."
para "It's unbelievable"
line "that anyone would"
cont "do that!"
para "…sigh… That"
line "stolen #MON."
para "I wonder how it's"
line "doing."
para "They say a #MON"
line "raised by a bad"
para "person turns bad"
line "itself."
done
; 0x7a078
UnknownText_0x7a078: ; 0x7a078
text $14, "!"
para "Use these on your"
line "#DEX quest!"
done
; 0x7a09a
UnknownText_0x7a09a: ; 0x7a09a
text "To add to your"
line "#DEX, you have"
cont "to catch #MON."
para "Throw # BALLS"
line "at wild #MON"
cont "to get them."
done
; 0x7a0f0
UnknownText_0x7a0f0: ; 0x7a0f0
text "I heard a #MON"
line "was stolen here…"
para "I was just getting"
line "some information"
cont "from PROF.ELM."
para "Apparently, it was"
line "a young male with"
cont "long, red hair…"
para "What?"
para "You battled a"
line "trainer like that?"
para "Did you happen to"
line "get his name?"
done
; 0x7a1c0
UnknownText_0x7a1c0: ; 0x7a1c0
text "OK! So ", $53
line "was his name."
para "Thanks for helping"
line "my investigation!"
done
; 0x7a1fd
UnknownText_0x7a1fd: ; 0x7a1fd
text "The window's open."
para "A pleasant breeze"
line "is blowing in."
done
; 0x7a231
UnknownText_0x7a231: ; 0x7a231
text "He broke in"
line "through here!"
done
; 0x7a24c
UnknownText_0x7a24c: ; 0x7a24c
text $52, " opened a"
line "book."
para "Travel Tip 1:"
para "Press START to"
line "open the MENU."
done
; 0x7a28a
UnknownText_0x7a28a: ; 0x7a28a
text $52, " opened a"
line "book."
para "Travel Tip 2:"
para "Record your trip"
line "with SAVE!"
done
; 0x7a2c6
UnknownText_0x7a2c6: ; 0x7a2c6
text $52, " opened a"
line "book."
para "Travel Tip 3:"
para "Open your PACK and"
line "press SELECT to"
cont "move items."
done
; 0x7a315
UnknownText_0x7a315: ; 0x7a315
text $52, " opened a"
line "book."
para "Travel Tip 4:"
para "Check your #MON"
line "moves. Press the"
para "A Button to switch"
line "moves."
done
; 0x7a370
UnknownText_0x7a370: ; 0x7a370
text "The wrapper from"
line "the snack PROF.ELM"
cont "ate is in there…"
done
; 0x7a3a6
UnknownText_0x7a3a6: ; 0x7a3a6
text "OBSERVATIONS ON"
line "#MON EVOLUTION"
para "…It says on the"
line "screen…"
done
; 0x7a3de
ElmsLab_MapEventHeader: ; 0x7a3de
; filler
db 0, 0
; warps
db 2
warp_def $b, $4, 1, GROUP_NEW_BARK_TOWN, MAP_NEW_BARK_TOWN
warp_def $b, $5, 1, GROUP_NEW_BARK_TOWN, MAP_NEW_BARK_TOWN
; xy triggers
db 8
xy_trigger 1, $6, $4, $0, LabTryToLeaveScript, $0, $0
xy_trigger 1, $6, $5, $0, LabTryToLeaveScript, $0, $0
xy_trigger 3, $5, $4, $0, MeetCopScript, $0, $0
xy_trigger 3, $5, $5, $0, UnknownScript_0x78f12, $0, $0
xy_trigger 5, $8, $4, $0, UnknownScript_0x78e7f, $0, $0
xy_trigger 5, $8, $5, $0, UnknownScript_0x78e8e, $0, $0
xy_trigger 6, $8, $4, $0, UnknownScript_0x78ead, $0, $0
xy_trigger 6, $8, $5, $0, UnknownScript_0x78ebc, $0, $0
; signposts
db 16
signpost 1, 2, $0, MapElmsLabSignpost0Script
signpost 1, 6, $0, MapElmsLabSignpost12Script
signpost 1, 7, $0, MapElmsLabSignpost12Script
signpost 1, 8, $0, MapElmsLabSignpost12Script
signpost 1, 9, $0, MapElmsLabSignpost12Script
signpost 7, 0, $0, MapElmsLabSignpost5Script
signpost 7, 1, $0, MapElmsLabSignpost6Script
signpost 7, 2, $0, MapElmsLabSignpost7Script
signpost 7, 3, $0, MapElmsLabSignpost8Script
signpost 7, 6, $0, MapElmsLabSignpost12Script
signpost 7, 7, $0, MapElmsLabSignpost12Script
signpost 7, 8, $0, MapElmsLabSignpost12Script
signpost 7, 9, $0, MapElmsLabSignpost12Script
signpost 3, 9, $0, MapElmsLabSignpost13Script
signpost 0, 5, $0, MapElmsLabSignpost14Script
signpost 5, 3, $2, MapElmsLabSignpost15Script
; people-events
db 6
person_event SPRITE_ELM, 6, 9, $6, $0, 255, 255, $0, 0, ProfElmScript, $ffff
person_event SPRITE_SCIENTIST, 13, 6, $3, $0, 255, 255, $90, 0, ElmsAideScript, $0701
person_event SPRITE_POKE_BALL, 7, 10, $1, $0, 255, 255, $0, 0, CyndaquilPokeBallScript, $0640
person_event SPRITE_POKE_BALL, 7, 11, $1, $0, 255, 255, $0, 0, TotodilePokeBallScript, $0641
person_event SPRITE_POKE_BALL, 7, 12, $1, $0, 255, 255, $0, 0, ChikoritaPokeBallScript, $0642
person_event SPRITE_OFFICER, 7, 9, $7, $0, 255, 255, $90, 0, $4f1a, $0702
; 0x7a4cc
|