summaryrefslogtreecommitdiff
path: root/maps/IlexForest.asm
blob: c3ea128179b9aa9dc724e869412e9eaa1b72c475 (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
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
IlexForest_MapScriptHeader: ; 0x6eafe
	; trigger count
	db 0

	; callback count
	db 1

	; callbacks

	dbw 2, UnknownScript_0x6eb03
; 0x6eb03

UnknownScript_0x6eb03: ; 0x6eb03
	checkevent EVENT_GOT_HM01_CUT
	iftrue UnknownScript_0x6eb34
	copybytetovar FarfetchdPosition
	if_equal $1, UnknownScript_0x6eb35
	if_equal $2, UnknownScript_0x6eb3c
	if_equal $3, UnknownScript_0x6eb43
	if_equal $4, UnknownScript_0x6eb4a
	if_equal $5, UnknownScript_0x6eb51
	if_equal $6, UnknownScript_0x6eb58
	if_equal $7, UnknownScript_0x6eb5f
	if_equal $8, UnknownScript_0x6eb66
	if_equal $9, UnknownScript_0x6eb6d
	if_equal $a, UnknownScript_0x6eb74
UnknownScript_0x6eb34: ; 0x6eb34
	return
; 0x6eb35

UnknownScript_0x6eb35: ; 0x6eb35
	moveperson $2, $e, $1f
	appear $2
	return
; 0x6eb3c

UnknownScript_0x6eb3c: ; 0x6eb3c
	moveperson $2, $f, $19
	appear $2
	return
; 0x6eb43

UnknownScript_0x6eb43: ; 0x6eb43
	moveperson $2, $14, $18
	appear $2
	return
; 0x6eb4a

UnknownScript_0x6eb4a: ; 0x6eb4a
	moveperson $2, $1d, $16
	appear $2
	return
; 0x6eb51

UnknownScript_0x6eb51: ; 0x6eb51
	moveperson $2, $1c, $1f
	appear $2
	return
; 0x6eb58

UnknownScript_0x6eb58: ; 0x6eb58
	moveperson $2, $18, $23
	appear $2
	return
; 0x6eb5f

UnknownScript_0x6eb5f: ; 0x6eb5f
	moveperson $2, $16, $1f
	appear $2
	return
; 0x6eb66

UnknownScript_0x6eb66: ; 0x6eb66
	moveperson $2, $f, $1d
	appear $2
	return
; 0x6eb6d

UnknownScript_0x6eb6d: ; 0x6eb6d
	moveperson $2, $a, $23
	appear $2
	return
; 0x6eb74

UnknownScript_0x6eb74: ; 0x6eb74
	moveperson $2, $6, $1c
	appear $2
	return
; 0x6eb7b

YoungsterScript_0x6eb7b: ; 0x6eb7b
	faceplayer
	loadfont
	checkevent $0029
	iftrue UnknownScript_0x6eb89
	2writetext UnknownText_0x6ef5c
	closetext
	loadmovesprites
	end
; 0x6eb89

UnknownScript_0x6eb89: ; 0x6eb89
	2writetext UnknownText_0x6f019
	closetext
	loadmovesprites
	end
; 0x6eb8f

BirdScript_0x6eb8f: ; 0x6eb8f
	copybytetovar FarfetchdPosition
	if_equal $1, UnknownScript_0x6ebba
	if_equal $2, UnknownScript_0x6ebd9
	if_equal $3, UnknownScript_0x6ec02
	if_equal $4, UnknownScript_0x6ec2b
	if_equal $5, UnknownScript_0x6ec54
	if_equal $6, UnknownScript_0x6eca7
	if_equal $7, UnknownScript_0x6ecd0
	if_equal $8, UnknownScript_0x6ed0e
	if_equal $9, UnknownScript_0x6ed50
	if_equal $a, UnknownScript_0x6ed96
UnknownScript_0x6ebba: ; 0x6ebba
	faceplayer
	loadfont
	2writetext UnknownText_0x6f06f
	keeptextopen
	2writetext UnknownText_0x6f086
	cry FARFETCH_D
	closetext
	loadmovesprites
	applymovement $2, MovementData_0x6ee8f
	moveperson $2, $f, $19
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $2
	end
; 0x6ebd9

UnknownScript_0x6ebd9: ; 0x6ebd9
	2call UnknownScript_0x6eda1
	if_equal $0, UnknownScript_0x6ebf1
	applymovement $2, MovementData_0x6ee95
	moveperson $2, $14, $18
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $3
	end
; 0x6ebf1

UnknownScript_0x6ebf1: ; 0x6ebf1
	applymovement $2, MovementData_0x6ee9e
	moveperson $2, $f, $1d
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $8
	end
; 0x6ec02

UnknownScript_0x6ec02: ; 0x6ec02
	2call UnknownScript_0x6eda1
	if_equal $2, UnknownScript_0x6ec1a
	applymovement $2, MovementData_0x6eea4
	moveperson $2, $1d, $16
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $4
	end
; 0x6ec1a

UnknownScript_0x6ec1a: ; 0x6ec1a
	applymovement $2, MovementData_0x6eeab
	moveperson $2, $f, $19
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $2
	end
; 0x6ec2b

UnknownScript_0x6ec2b: ; 0x6ec2b
	2call UnknownScript_0x6eda1
	if_equal $1, UnknownScript_0x6ec43
	applymovement $2, MovementData_0x6eeb1
	moveperson $2, $1c, $1f
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $5
	end
; 0x6ec43

UnknownScript_0x6ec43: ; 0x6ec43
	applymovement $2, MovementData_0x6eeb8
	moveperson $2, $14, $18
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $3
	end
; 0x6ec54

UnknownScript_0x6ec54: ; 0x6ec54
	2call UnknownScript_0x6eda1
	if_equal $1, UnknownScript_0x6ec85
	if_equal $2, UnknownScript_0x6ec74
	if_equal $3, UnknownScript_0x6ec96
	applymovement $2, MovementData_0x6eebd
	moveperson $2, $18, $23
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $6
	end
; 0x6ec74

UnknownScript_0x6ec74: ; 0x6ec74
	applymovement $2, MovementData_0x6eec7
	moveperson $2, $16, $1f
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $7
	end
; 0x6ec85

UnknownScript_0x6ec85: ; 0x6ec85
	applymovement $2, MovementData_0x6eecc
	moveperson $2, $1d, $16
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $4
	end
; 0x6ec96

UnknownScript_0x6ec96: ; 0x6ec96
	applymovement $2, MovementData_0x6eed2
	moveperson $2, $1d, $16
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $4
	end
; 0x6eca7

UnknownScript_0x6eca7: ; 0x6eca7
	2call UnknownScript_0x6eda1
	if_equal $3, UnknownScript_0x6ecbf
	applymovement $2, MovementData_0x6eee6
	moveperson $2, $16, $1f
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $7
	end
; 0x6ecbf

UnknownScript_0x6ecbf: ; 0x6ecbf
	applymovement $2, MovementData_0x6eeef
	moveperson $2, $1c, $1f
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $5
	end
; 0x6ecd0

UnknownScript_0x6ecd0: ; 0x6ecd0
	2call UnknownScript_0x6eda1
	if_equal $0, UnknownScript_0x6ecfd
	if_equal $2, UnknownScript_0x6ecec
	applymovement $2, MovementData_0x6eef8
	moveperson $2, $f, $1d
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $8
	end
; 0x6ecec

UnknownScript_0x6ecec: ; 0x6ecec
	applymovement $2, MovementData_0x6ef00
	moveperson $2, $18, $23
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $6
	end
; 0x6ecfd

UnknownScript_0x6ecfd: ; 0x6ecfd
	applymovement $2, MovementData_0x6ef09
	moveperson $2, $1c, $1f
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $5
	end
; 0x6ed0e

UnknownScript_0x6ed0e: ; 0x6ed0e
	2call UnknownScript_0x6eda1
	if_equal $1, UnknownScript_0x6ed3f
	if_equal $2, UnknownScript_0x6ed3f
	if_equal $3, UnknownScript_0x6ed2e
	applymovement $2, MovementData_0x6ef10
	moveperson $2, $a, $23
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $9
	end
; 0x6ed2e

UnknownScript_0x6ed2e: ; 0x6ed2e
	applymovement $2, MovementData_0x6ef18
	moveperson $2, $16, $1f
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $7
	end
; 0x6ed3f

UnknownScript_0x6ed3f: ; 0x6ed3f
	applymovement $2, MovementData_0x6ef1e
	moveperson $2, $f, $19
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $2
	end
; 0x6ed50

UnknownScript_0x6ed50: ; 0x6ed50
	2call UnknownScript_0x6eda1
	if_equal $0, UnknownScript_0x6ed85
	if_equal $3, UnknownScript_0x6ed74
	applymovement $2, MovementData_0x6ef23
	moveperson $2, $6, $1c
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $a
	appear $4
	setevent $06f7
	setevent $0029
	end
; 0x6ed74

UnknownScript_0x6ed74: ; 0x6ed74
	applymovement $2, MovementData_0x6ef33
	moveperson $2, $f, $1d
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $8
	end
; 0x6ed85

UnknownScript_0x6ed85: ; 0x6ed85
	applymovement $2, MovementData_0x6ef3d
	moveperson $2, $f, $1d
	disappear $2
	appear $2
	loadvar FarfetchdPosition, $8
	end
; 0x6ed96

UnknownScript_0x6ed96: ; 0x6ed96
	faceplayer
	loadfont
	2writetext UnknownText_0x6f086
	cry FARFETCH_D
	closetext
	loadmovesprites
	end
; 0x6eda1

UnknownScript_0x6eda1: ; 0x6eda1
	faceplayer
	loadfont
	2writetext UnknownText_0x6f086
	cry FARFETCH_D
	closetext
	loadmovesprites
	checkcode $9
	end
; 0x6edae

BlackBeltScript_0x6edae: ; 0x6edae
	faceplayer
	loadfont
	checkevent EVENT_GOT_HM01_CUT
	iftrue UnknownScript_0x6edd8
	2writetext UnknownText_0x6f099
	keeptextopen
	verbosegiveitem HM_01, 1
	setevent EVENT_GOT_HM01_CUT
	2writetext UnknownText_0x6f141
	closetext
	loadmovesprites
	setevent $06e9
	setevent $06f3
	setevent $06f4
	clearevent $06f5
	clearevent $06f6
	clearevent $06f7
	end
; 0x6edd8

UnknownScript_0x6edd8: ; 0x6edd8
	2writetext UnknownText_0x6f1c0
	closetext
	loadmovesprites
	end
; 0x6edde

RockerScript_0x6edde: ; 0x6edde
	faceplayer
	loadfont
	checkevent EVENT_GOT_TM02_HEADBUTT
	iftrue UnknownScript_0x6edf3
	2writetext UnknownText_0x6f21b
	keeptextopen
	verbosegiveitem TM_02, 1
	iffalse UnknownScript_0x6edf7
	setevent EVENT_GOT_TM02_HEADBUTT
UnknownScript_0x6edf3: ; 0x6edf3
	2writetext UnknownText_0x6f26d
	closetext
UnknownScript_0x6edf7: ; 0x6edf7
	loadmovesprites
	end
; 0x6edf9

TrainerBug_catcherWayne: ; 0x6edf9
	; bit/flag number
	dw $5c0

	; trainer group && trainer id
	db BUG_CATCHER, WAYNE

	; text when seen
	dw Bug_catcherWayneSeenText

	; text when trainer beaten
	dw Bug_catcherWayneBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw Bug_catcherWayneScript
; 0x6ee05

Bug_catcherWayneScript: ; 0x6ee05
	talkaftercancel
	loadfont
	2writetext UnknownText_0x6f571
	closetext
	loadmovesprites
	end
; 0x6ee0d

LassScript_0x6ee0d: ; 0x6ee0d
	jumptextfaceplayer UnknownText_0x6f2af
; 0x6ee10

ItemFragment_0x6ee10: ; 0x6ee10
	db REVIVE, 1
; 0x6ee12

ItemFragment_0x6ee12: ; 0x6ee12
	db X_ATTACK, 1
; 0x6ee14

ItemFragment_0x6ee14: ; 0x6ee14
	db ANTIDOTE, 1
; 0x6ee16

ItemFragment_0x6ee16: ; 0x6ee16
	db ETHER, 1
; 0x6ee18

MapIlexForestSignpostItem1: ; 0x6ee18
	dw $0088
	db ETHER
	
; 0x6ee1b

MapIlexForestSignpostItem2: ; 0x6ee1b
	dw $0089
	db SUPER_POTION
	
; 0x6ee1e

MapIlexForestSignpostItem3: ; 0x6ee1e
	dw $008a
	db FULL_HEAL
; 0x6ee21

UnknownScript_0x6ee21: ; 0x6ee21
	jumpstd $000e
; 0x6ee24

MapIlexForestSignpost0Script: ; 0x6ee24
	jumptext UnknownText_0x6f2de
; 0x6ee27

MapIlexForestSignpost4Script: ; 0x6ee27
	checkevent $00c0
	iftrue UnknownScript_0x6ee30
	2jump UnknownScript_0x6ee35
; 0x6ee30

UnknownScript_0x6ee30: ; 0x6ee30
	checkitem GS_BALL
	iftrue UnknownScript_0x6ee38
UnknownScript_0x6ee35: ; 0x6ee35
	jumptext UnknownText_0x6f358
; 0x6ee38

UnknownScript_0x6ee38: ; 0x6ee38
	loadfont
	2writetext UnknownText_0x6f394
	yesorno
	iftrue UnknownScript_0x6ee42
	loadmovesprites
	end
; 0x6ee42

UnknownScript_0x6ee42: ; 0x6ee42
	takeitem GS_BALL, 1
	clearevent $00c0
	setevent $07a4
	disappear $8
	clearevent $06eb
	2writetext UnknownText_0x6f43b
	closetext
	loadmovesprites
	pause 20
	showemote $0, $0, 20
	special $006a
	applymovement $0, MovementData_0x6ef58
	pause 30
	spriteface $0, $0
	pause 20
	clearflag $0064
	special $008f
	loadpokedata CELEBI, 30
	startbattle
	returnafterbattle
	pause 20
	special $0090
	iffalse UnknownScript_0x6ee8e
	appear $7
	applymovement $7, MovementData_0x6ef4e
	loadfont
	2writetext UnknownText_0x6f452
	closetext
	loadmovesprites
	applymovement $7, MovementData_0x6ef53
	disappear $7
UnknownScript_0x6ee8e: ; 0x6ee8e
	end
; 0x6ee8f

MovementData_0x6ee8f: ; 0x6ee8f
	big_step_up
	big_step_up
	big_step_up
	big_step_up
	big_step_up
	step_end
; 0x6ee95

MovementData_0x6ee95: ; 0x6ee95
	big_step_up
	big_step_up
	big_step_right
	big_step_right
	big_step_right
	big_step_right
	big_step_right
	big_step_down
	step_end
; 0x6ee9e

MovementData_0x6ee9e: ; 0x6ee9e
	big_step_down
	big_step_down
	big_step_down
	big_step_down
	big_step_down
	step_end
; 0x6eea4

MovementData_0x6eea4: ; 0x6eea4
	big_step_right
	big_step_right
	big_step_right
	big_step_right
	big_step_right
	big_step_right
	step_end
; 0x6eeab

MovementData_0x6eeab: ; 0x6eeab
	big_step_up
	big_step_left
	big_step_left
	big_step_left
	big_step_left
	step_end
; 0x6eeb1

MovementData_0x6eeb1: ; 0x6eeb1
	big_step_down
	big_step_down
	big_step_down
	big_step_down
	big_step_down
	big_step_down
	step_end
; 0x6eeb8

MovementData_0x6eeb8: ; 0x6eeb8
	big_step_left
	jump_step_left
	big_step_left
	big_step_left
	step_end
; 0x6eebd

MovementData_0x6eebd: ; 0x6eebd
	big_step_down
	big_step_down
	big_step_down
	big_step_down
	big_step_down
	big_step_left
	big_step_left
	big_step_left
	big_step_left
	step_end
; 0x6eec7

MovementData_0x6eec7: ; 0x6eec7
	big_step_left
	big_step_left
	big_step_left
	big_step_left
	step_end
; 0x6eecc

MovementData_0x6eecc: ; 0x6eecc
	big_step_up
	big_step_up
	big_step_up
	big_step_right
	big_step_up
	step_end
; 0x6eed2

MovementData_0x6eed2: ; 0x6eed2
	big_step_right
	turn_head_up
	db $3e ; movement
	turn_head_down
	db $3e ; movement
	turn_head_up
	db $3e ; movement
	big_step_down
	big_step_down
	fix_facing
	jump_step_up
	accelerate_last
	accelerate_last
	remove_fixed_facing
	big_step_up
	big_step_up
	big_step_up
	big_step_up
	big_step_up
	step_end
; 0x6eee6

MovementData_0x6eee6: ; 0x6eee6
	big_step_left
	big_step_left
	big_step_left
	big_step_up
	big_step_up
	big_step_right
	big_step_up
	big_step_up
	step_end
; 0x6eeef

MovementData_0x6eeef: ; 0x6eeef
	big_step_right
	big_step_right
	big_step_right
	big_step_right
	big_step_up
	big_step_up
	big_step_up
	big_step_up
	step_end
; 0x6eef8

MovementData_0x6eef8: ; 0x6eef8
	big_step_up
	big_step_up
	big_step_left
	big_step_left
	big_step_left
	big_step_left
	big_step_left
	step_end
; 0x6ef00

MovementData_0x6ef00: ; 0x6ef00
	big_step_down
	big_step_down
	big_step_left
	big_step_down
	big_step_down
	big_step_right
	big_step_right
	big_step_right
	step_end
; 0x6ef09

MovementData_0x6ef09: ; 0x6ef09
	big_step_right
	big_step_right
	big_step_right
	big_step_right
	big_step_right
	big_step_right
	step_end
; 0x6ef10

MovementData_0x6ef10: ; 0x6ef10
	big_step_down
	big_step_left
	big_step_down
	big_step_down
	big_step_down
	big_step_down
	big_step_down
	step_end
; 0x6ef18

MovementData_0x6ef18: ; 0x6ef18
	big_step_right
	big_step_right
	big_step_right
	big_step_right
	big_step_right
	step_end
; 0x6ef1e

MovementData_0x6ef1e: ; 0x6ef1e
	big_step_up
	big_step_up
	big_step_up
	big_step_up
	step_end
; 0x6ef23

MovementData_0x6ef23: ; 0x6ef23
	big_step_left
	big_step_left
	fix_facing
	jump_step_right
	accelerate_last
	accelerate_last
	remove_fixed_facing
	big_step_left
	big_step_left
	big_step_up
	big_step_up
	big_step_up
	big_step_up
	big_step_up
	big_step_up
	step_end
; 0x6ef33

MovementData_0x6ef33: ; 0x6ef33
	big_step_right
	big_step_right
	big_step_right
	big_step_right
	big_step_up
	big_step_up
	big_step_up
	big_step_up
	big_step_up
	step_end
; 0x6ef3d

MovementData_0x6ef3d: ; 0x6ef3d
	big_step_left
	big_step_left
	fix_facing
	jump_step_right
	accelerate_last
	accelerate_last
	remove_fixed_facing
	big_step_right
	big_step_right
	big_step_right
	big_step_right
	big_step_up
	big_step_up
	big_step_up
	big_step_up
	big_step_up
	step_end
; 0x6ef4e

MovementData_0x6ef4e: ; 0x6ef4e
	step_up
	step_up
	step_up
	step_up
	step_end
; 0x6ef53

MovementData_0x6ef53: ; 0x6ef53
	step_down
	step_down
	step_down
	step_down
	step_end
; 0x6ef58

MovementData_0x6ef58: ; 0x6ef58
	fix_facing
	slow_step_down
	remove_fixed_facing
	step_end
; 0x6ef5c

UnknownText_0x6ef5c: ; 0x6ef5c
	text "Oh, man… My boss"
	line "is going to be"
	cont "steaming…"

	para "The FARFETCH'D"
	line "that CUTS trees"

	para "for charcoal took"
	line "off on me."

	para "I can't go looking"
	line "for it here in the"
	cont "ILEX FOREST."

	para "It's too big, dark"
	line "and scary for me…"
	done
; 0x6f019

UnknownText_0x6f019: ; 0x6f019
	text "Wow! Thanks a"
	line "whole bunch!"

	para "My boss's #MON"
	line "won't obey me be-"
	cont "cause I don't have"
	cont "a BADGE."
	done
; 0x6f06f

UnknownText_0x6f06f: ; 0x6f06f
	text "It's the missing"
	line "#MON!"
	done
; 0x6f086

UnknownText_0x6f086: ; 0x6f086
	text "FARFETCH'D: Kwaa!"
	done
; 0x6f099

UnknownText_0x6f099: ; 0x6f099
	text "Ah! My FARFETCH'D!"

	para "You found it for"
	line "us, kid?"

	para "Without it, we"
	line "wouldn't be able"

	para "to CUT trees for"
	line "charcoal."

	para "Thanks, kid!"

	para "Now, how can I"
	line "thank you…"

	para "I know! Here, take"
	line "this."
	done
; 0x6f141

UnknownText_0x6f141: ; 0x6f141
	text "That's the CUT HM."
	line "Teach that to a"

	para "#MON to clear"
	line "small trees."

	para "Of course, you"
	line "have to have the"

	para "GYM BADGE from"
	line "AZALEA to use it."
	done
; 0x6f1c0

UnknownText_0x6f1c0: ; 0x6f1c0
	text "Do you want to"
	line "apprentice as a"

	para "charcoal maker"
	line "with me?"

	para "You'll be first-"
	line "rate in ten years!"
	done
; 0x6f21b

UnknownText_0x6f21b: ; 0x6f21b
	text "What am I doing?"

	para "I'm shaking trees"
	line "using HEADBUTT."

	para "It's fun. Here,"
	line "you try it too!"
	done
; 0x6f26d

UnknownText_0x6f26d: ; 0x6f26d
	text "Rattle trees with"
	line "HEADBUTT. Some-"
	cont "times, sleeping"
	cont "#MON fall out."
	done
; 0x6f2af

UnknownText_0x6f2af: ; 0x6f2af
	text "Did something"
	line "happen to the"
	cont "forest's guardian?"
	done
; 0x6f2de

UnknownText_0x6f2de: ; 0x6f2de
	text "ILEX FOREST is"
	line "so overgrown with"

	para "trees that you"
	line "can't see the sky."

	para "Please watch out"
	line "for items that may"
	cont "have been dropped."
	done
; 0x6f358

UnknownText_0x6f358: ; 0x6f358
	text "ILEX FOREST"
	line "SHRINE…"

	para "It's in honor of"
	line "the forest's"
	cont "protector…"
	done
; 0x6f394

UnknownText_0x6f394: ; 0x6f394
	text "ILEX FOREST"
	line "SHRINE…"

	para "It's in honor of"
	line "the forest's"
	cont "protector…"

	para "Oh? What is this?"

	para "It's a hole."
	line "It looks like the"

	para "GS BALL would fit"
	line "inside it."

	para "Want to put the GS"
	line "BALL here?"
	done
; 0x6f43b

UnknownText_0x6f43b: ; 0x6f43b
	text $52, " put in the"
	line "GS BALL."
	done
; 0x6f452

UnknownText_0x6f452: ; 0x6f452
	text "Whew, wasn't that"
	line "something!"

	para $52, ", that was"
	line "fantastic. Thanks!"

	para "The legends about"
	line "that SHRINE were"
	cont "real after all."

	para "I feel inspired by"
	line "what I just saw."

	para "It motivates me to"
	line "make better BALLS!"

	para "I'm going!"
	done
; 0x6f515

Bug_catcherWayneSeenText: ; 0x6f515
	text "Don't sneak up on"
	line "me like that!"

	para "You frightened a"
	line "#MON away!"
	done
; 0x6f551

Bug_catcherWayneBeatenText: ; 0x6f551
	text "I hadn't seen that"
	line "#MON before…"
	done
; 0x6f571

UnknownText_0x6f571: ; 0x6f571
	text "A #MON I've"
	line "never seen before"

	para "fell out of the"
	line "tree when I used"
	cont "HEADBUTT."

	para "I ought to use"
	line "HEADBUTT in other"
	cont "places too."
	done
; 0x6f5e7

IlexForest_MapEventHeader: ; 0x6f5e7
	; filler
	db 0, 0

	; warps
	db 3
	warp_def $5, $1, 3, GROUP_ROUTE_34_ILEX_FOREST_GATE, MAP_ROUTE_34_ILEX_FOREST_GATE
	warp_def $2a, $3, 1, GROUP_ILEX_FOREST_AZALEA_GATE, MAP_ILEX_FOREST_AZALEA_GATE
	warp_def $2b, $3, 2, GROUP_ILEX_FOREST_AZALEA_GATE, MAP_ILEX_FOREST_AZALEA_GATE

	; xy triggers
	db 0

	; signposts
	db 5
	signpost 17, 3, $0, MapIlexForestSignpost0Script
	signpost 7, 11, $7, MapIlexForestSignpostItem1
	signpost 14, 22, $7, MapIlexForestSignpostItem2
	signpost 17, 1, $7, MapIlexForestSignpostItem3
	signpost 22, 8, $1, MapIlexForestSignpost4Script

	; people-events
	db 11
	person_event SPRITE_BIRD, 35, 18, $3, $0, 255, 255, $b0, 0, BirdScript_0x6eb8f, $06e9
	person_event SPRITE_YOUNGSTER, 32, 11, $6, $0, 255, 255, $a0, 0, YoungsterScript_0x6eb7b, $06f3
	person_event SPRITE_BLACK_BELT, 32, 9, $9, $0, 255, 255, $0, 0, BlackBeltScript_0x6edae, $06f4
	person_event SPRITE_ROCKER, 18, 19, $9, $0, 255, 255, $0, 0, RockerScript_0x6edde, $ffff
	person_event SPRITE_POKE_BALL, 36, 24, $1, $0, 255, 255, $1, 0, ItemFragment_0x6ee10, $0671
	person_event SPRITE_KURT, 33, 12, $7, $0, 255, 255, $0, 0, ObjectEvent, $07a5
	person_event SPRITE_LASS, 28, 7, $9, $0, 255, 255, $a0, 0, LassScript_0x6ee0d, $06ed
	person_event SPRITE_YOUNGSTER, 5, 16, $7, $0, 255, 255, $a2, 0, TrainerBug_catcherWayne, $ffff
	person_event SPRITE_POKE_BALL, 21, 13, $1, $0, 255, 255, $1, 0, ItemFragment_0x6ee12, $07b9
	person_event SPRITE_POKE_BALL, 11, 21, $1, $0, 255, 255, $1, 0, ItemFragment_0x6ee14, $07ba
	person_event SPRITE_POKE_BALL, 5, 31, $1, $0, 255, 255, $1, 0, ItemFragment_0x6ee16, $07bb
; 0x6f6a4