-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathBuild.asm
1179 lines (764 loc) · 22.5 KB
/
Build.asm
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
.cpu "65816"
.include "SizeHelpersStart.h"
; Until everything is disassembled,
; pre-fill the ROM.
.include "SRC/BaseROM.asm"
; Grab the base ROM as bytes for shenanigans.
ROM = binary(BASEROM)
; Temporary helper to work with data that crosses
; bank boundaries. TODO: add to Volt Edge.
crossbankRawMissing := 0
crossbankRawRemaining := b""
crossbankRaw .segment Block
crossbankRawMissing := $10000 - (* & $FFFF)
crossbankRawRemaining := \Block[crossbankRawMissing:]
.text \Block[:crossbankRawMissing]
.endsegment
crossbankRawRemainder .segment
.text crossbankRawRemaining
.endsegment
; Sources
; Temp
.include "TEXT/SJIS.h"
.include "SRC/Dialogue.asm"
.include "SRC/Break.asm"
.include "SRC/Vectors.asm"
.include "SRC/Joypad.asm"
.include "SRC/PPUBuffers.asm"
.include "SRC/VBlank.asm"
.include "SRC/Sprites.asm"
.include "SRC/DMA.asm"
.include "SRC/Reset.asm"
.include "SRC/IRQ.asm"
.include "SRC/ActionStruct.asm"
.include "SRC/ActionStructStaff.asm"
.include "SRC/Code83Temp.asm"
.include "SRC/CharacterData.asm"
.include "SRC/ItemData.asm"
.include "SRC/DeploymentSlots.asm"
.include "SRC/ClassData.asm"
.include "SRC/AI.asm"
.include "SRC/ChapterTitles.asm"
.include "SRC/WMMarkers.asm"
.include "SRC/Events.asm"
.include "SRC/ChapterDialoguePointers.asm"
.include "SRC/BattleBackgrounds.asm"
.include "SRC/Portraits.asm"
.include "SRC/Tilesets.asm"
.include "SRC/Arena.asm"
.include "SRC/PickPhaseMusic.asm"
.include "SRC/TradeWindow.asm"
.include "SRC/MenuUtilities.asm"
.include "SRC/StatusWindow.asm"
.include "SRC/OptionsWindow.asm"
.include "SRC/UnitWindow.asm"
.include "SRC/ShopWindow.asm"
.include "SRC/ConvoyWindow.asm"
; Sections
* := $000000
.logical mapped($000000)
.dsection BreakpointHandlerSection
.dsection GetJoypadInputSection
.dsection DMAPaletteAndOAMBufferSection
.dsection CopyPPURegisterBufferSection
.dsection CopyINIDISPBufferSection
.dsection VBlankHandlerSection
.dsection IRQHandlerSection
.dsection IRQDummyRoutineSection
.dsection EnableVBlankSection
.dsection DisableVBlankSection
.dsection HaltUntilVBlankSection
.dsection EnableForcedBlankSection
.dsection DisableForcedBlankSection
.dsection HideSpritesSection
.dsection ClearSpriteExtBufferSection
.dsection UnknownDMASection
.dsection OAMExtBitTableSection
.dsection OAMExtPointerAndExtBitsTableSection
.dsection PushToOAMBufferSection
.dsection SpliceOAMBufferSection
.dsection InitPPURegistersSection
.dsection ResetHandlerSection
.dsection ResetAlreadyInitializedSection
.dsection MainLoopSection
.endlogical
* := $001753
.logical mapped($001753)
startFreespace
.fill mapped($001B00) - *, $FF
endFreespace
.endlogical
* := $004623
.logical mapped($004623)
.dsection UnitWindow80Section
.endlogical
* := $005D77
.logical mapped($005D77)
startFreespace
.fill mapped($005E00) - *, $FF
endFreespace
.endlogical
* := $006B28
.logical mapped($006B28)
startFreespace
.fill mapped($007FB0) - *, $FF
endFreespace
.endlogical
* := $007FE0
.logical mapped($007FE0)
.dsection VectorTableSection
.endlogical
* := $008B13
.logical mapped($008B13)
startFreespace
.fill mapped($00A800) - *, $FF
endFreespace
.endlogical
* := $00FF9D
.logical mapped($00FF9D)
startFreespace
.fill mapped($008000) + $8000 - *, $FF
endFreespace
.endlogical
* := $0138AF
.logical mapped($0138AF)
startDialogue
.dsection DeathQuoteDialogueSection
.dsection RetreatQuoteDialogueSection
.dsection ChapterEndLinoanDeadDialogueSection
.dsection UnusedBlankWMDialogueSection
.dsection Chapter01WMDialogueSection
.dsection Chapter02WMDialogueSection
.dsection Chapter03WMDialogueSection
.dsection Chapter04WMDialogueSection
.dsection Chapter07WMDialogueSection
.dsection Chapter08WMDialogueSection
.dsection Chapter09WMDialogueSection
.dsection Chapter10WMDialogueSection
.dsection Chapter11WMDialogueSection
.dsection Chapter12WMDialogueSection
.dsection Chapter13WMDialogueSection
.dsection Chapter15WMDialogueSection
.dsection Chapter16AWMDialogueSection
.dsection Chapter17AWMDialogueSection
.dsection Chapter16BWMDialogueSection
.dsection Chapter17BWMDialogueSection
.dsection Chapter18WMDialogueSection
.dsection Chapter19WMDialogueSection
.dsection Chapter20WMDialogueSection
.dsection Chapter21WMDialogueSection
.dsection Chapter22WMDialogueSection
.dsection Chapter23WMDialogueSection
.dsection Chapter24WMDialogueSection
endDialogue
startData
.dsection ChapterDialoguePointersSection
endData
startFreespace
.fill mapped($010000) + $8000 - *, $FF
endFreespace
.endlogical
* := $018E98
.logical mapped($018E98)
.dsection DeploymentSlotTableSection
.endlogical
* := $01A5B2
.logical mapped($01A5B2)
.dsection PickPhaseMusicSection
.endlogical
* := $01CE64
.logical mapped($01CE64)
.dsection ActionStructSingleSection
.dsection ActionStructUnknown83CEAESection
.dsection ActionStructCombatStructsSection
.dsection ActionStructGetBaseStatsSection
.dsection ActionStructClearActionStructSection
.dsection ActionStructCopyStartingStatsSection
.dsection ActionStructTrySetUnitCoordinatesSection
.dsection ActionStructWeaponInfoSection
.dsection ActionStructAdjustNihilSkillsSection
.dsection ActionStructGetTerrainBonusesAndDistanceSection
.dsection ActionStructGetCoreStatsSection
.dsection ActionStructRoundSection
.dsection ActionStructUnknown83DA13Section
.dsection ActionStructWriteLevelUpActionStructSection
.dsection ActionStructTryUpdateRoundCaptureFlagSection
.dsection ActionStructWeaponTriangleSection
.dsection ActionStructAdjustVantageRoundOrderSection
.dsection ActionStructUnknown83DC31Section
.dsection ActionStructLevelUpSection
.dsection ActionStructCalculateWeaponTriangleBonusSection
.dsection ActionStructWeaponEffectSection
.dsection ActionStructRollGainsSection
.dsection ActionStructCalculateHitAvoidBonusSection
.dsection ActionStructHalveStatsSection
.dsection ActionStructZeroCombatStatsSection
.dsection ActionStructSetGainedWEXPSection
.dsection ActionStructEXPSection
.dsection ActionStructGetSupportBonusSection
.dsection ActionStructUnknownSetCallbackSection
.dsection ActionStructGetItemBonusesSection
.dsection ActionStructWinsLossesSection
.dsection ActionStructGetCombatStatTotalSection
.dsection ActionStructGetStatTotalDifferenceTierSection
.dsection ActionStructMarkSelectableTargetSection
.dsection ActionStructGetDanceEXPSection
.dsection ActionStructTryGetGainedWeaponRankSection
.dsection ActionStructDanceSection
.dsection ActionStructClearOpponentWeaponIfUsingLongRangeSection
.dsection ActionStructGetTerrainTileSection
.dsection ActionStructStaffSection
.dsection HealingStaffTargetEffectSection
.dsection FortifyTargetEffectSection
.dsection SilenceStaffTargetEffectSection
.dsection BerserkStaffTargetEffectSection
.dsection SleepStaffTargetEffectSection
.dsection StatusStaffCallbackSection
.dsection RestoreTargetEffectSection
.dsection WarpTargetEffectSection
.dsection RewarpTargetEffectSection
.dsection BarrierTargetEffectSection
.dsection RescueStaffTargetEffectSection
.dsection TorchStaffTargetEffectSection
.dsection HammerneTargetEffectSection
.dsection ThiefStaffTargetEffectSection
.dsection ActionStructStaffGetEXPByCostSection
.dsection ActionStructSetGainedEXPSection
.dsection ActionStructGetStaffInfoSection
.dsection ReturnStaffTargetEffectSection
.dsection ActionStructStaffGetClosestTileSection
.dsection ActionStructStaffRollHitSection
.dsection ActionStructStaffRollDoublingSection
.dsection ActionStructStaffTryGetClosestTileSection
.dsection ActionStructStaffGetPowerSection
.dsection UnlockTargetEffectSection
.dsection WatchTargetEffectSection
.dsection KiaTargetEffectSection
.dsection ActionStructStaffGetGainedWEXPSection
.endlogical
* := $01FB4D
.logical mapped($01FB4D)
.dsection ResetUncapturedPlayerUnitsSection
.dsection FreeNonplayerDeploymentSlotsSection
.dsection SetNewGameOptionsSection
.dsection UnknownResetPlayerUnitVisibilitySection
.dsection SetChapterTurncountSection
.dsection ClearUnitArraysSection
.dsection ClearLossesWinsTurncountsSection
startFreespace
.fill mapped($018000) + $8000 - *, $FF
endFreespace
.endlogical
* := $027C7B
.logical mapped($027C7B)
startFreespace
.fill mapped($020000) + $8000 - *, $FF
endFreespace
.endlogical
* := $028000
.logical mapped($028000)
.dsection MenuUtilitiesSection
.endlogical
* := $029ADB
.logical mapped($029ADB)
.dsection ShopWindowSection
.dsection TradeWindowSection
.dsection ConvoyWindowSection
.endlogical
* := $02CE84
.logical mapped($02CE84)
.dsection OptionsWindowSection
.endlogical
* := $02EF31
.logical mapped($02EF31)
.dsection ArenaClassPoolSection
.endlogical
* := $02FFE1
.logical mapped($02FFE1)
startFreespace
.fill mapped($028000) + $8000 - *, $FF
endFreespace
.endlogical
* := $030000
.logical mapped($030000)
.dsection ClassDataSection
.endlogical
* := $0310BC
.logical mapped($0310BC)
.dsection MovementTypeSection
.dsection TerrainBonusSection
.endlogical
* := $0366AD
.logical mapped($0366AD)
startFreespace
.fill mapped($030000) + $8000 - *, $FF
endFreespace
.endlogical
* := $03FFA5
.logical mapped($03FFA5)
startFreespace
.fill mapped($038000) + $8000 - *, $FF
endFreespace
.endlogical
* := $040000
.logical mapped($040000)
.dsection MountDismountTableSection
.dsection Unknown888038Section
.dsection ScrollGrowthModifiersSection
.dsection SupportDataSection
.dsection TransformingItemSection
.dsection AutolevelDataSection
.endlogical
* := $047103
.logical mapped($047103)
startFreespace
.fill mapped($040000) + $8000 - *, $FF
endFreespace
.endlogical
* := $04FA7C
.logical mapped($04FA7C)
startFreespace
.fill mapped($048000) + $8000 - *, $FF
endFreespace
.endlogical
* := $053645
.logical mapped($053645)
.dsection StatusWindowSection
.endlogical
* := $0568E2
.logical mapped($0568E2)
startFreespace
.fill mapped($050000) + $8000 - *, $FF
endFreespace
.endlogical
* := $05FBDF
.logical mapped($05FBDF)
startFreespace
.fill mapped($058000) + $8000 - *, $FF
endFreespace
.endlogical
* := $06512A
.logical mapped($06512A)
.dsection PortraitTableSection
.endlogical
* := $066435
.logical mapped($066435)
startEventScenes
.dsection Chapter03EventsSection
.dsection Chapter09EventsSection
endEventScenes
.endlogical
* := $067FF3
.logical mapped($067FF3)
startFreespace
.fill mapped($060000) + $8000 - *, $FF
endFreespace
.endlogical
* := $068000
.logical mapped($068000)
.dsection AIMainSection
.dsection AIRecoveryThresholdSection
.dsection AIReadScriptOpcodeSection
.dsection AICopyMapsSection
.dsection AIStaffEffectSection
.dsection AILootTileEffectSection
.dsection AIRequestHealingInRecoveryModeSection
.dsection AITryUseHealingItemSection
.dsection AIUnknown8D869ASection
.dsection AIRecoveryModeSection
.endlogical
* := $069A4F
.logical mapped($069A4F)
.dsection AITryCantoSection
.dsection AIGetRandomTileInRangeSection
.dsection AIMovementStarSection
.dsection AIUnknownGetLowThreatTileInRangeSection
.dsection AIApproachTileSection
.dsection AIGetSafestTileNearTargetSection
.endlogical
* := $06B88C
.logical mapped($06B88C)
.dsection AICheckIfUnitCanOpenChestsSection
.endlogical
* := $06BABC
.logical mapped($06BABC)
.dsection AICheckIfTileIsLessThreatenedSection
.endlogical
* := $06C7BD
.logical mapped($06C7BD)
.dsection AIStaffTargetingSection
.endlogical
* := $06D876
.logical mapped($06D876)
.dsection AIItemUseSection
.dsection AIAdjacentInteractionsSection
.endlogical
* := $06DCC6
.logical mapped($06DCC6)
.dsection AICountTargetsInRangeSection
.dsection AICheckIfUnitInAreaSection
.dsection AICheckIfFlagSetSection
.dsection AIGetCurrentTurnSection
.dsection AIPatrolSection
.dsection AIUpdateGroupAISection
.dsection AIMoveToCoordinatesByChapterSection
.dsection AIMoveToIsolatedTargetSection
.dsection AIDanceSection
.dsection AIGetEffectiveThreatenedTilesSection
.dsection AIOverwriteStationaryFlagSection
.dsection AISetUpperActionCapabilityBitfield
.dsection AICountCharacterInMovementRangeSection
.dsection AISetAIForUnitInCurrentPhaseSection
.dsection AICountWeaponsInInventorySection
.dsection AIGetAICounterSection
.dsection AIForceHealSection
.dsection AIIsCharacterInIgnoreTableSection
.dsection AISetAllegianceToNPCSection
.dsection AIUnknownSetAISection
.dsection AICheckIfTerrainAtCoordinatesSection
.dsection AITryOpenClosestDoorSection
.dsection AIUnknown8DE468Section
.dsection AISetBusyStatusSection
startFreespace
.fill mapped($068000) + $8000 - *, $FF
endFreespace
.endlogical
* := $076FDE
.logical mapped($076FDE)
startFreespace
.fill mapped($070000) + $8000 - *, $FF
endFreespace
.endlogical
* := $078000
.logical mapped($078000)
.dsection ActionAIScriptSection
.dsection MovementAIScriptSection
.dsection AIRecoveryThresholdTableSection
.endlogical
* := $0788F2
.logical mapped($0788F2)
.dsection AIChapterCoordinatesSection
.endlogical
* := $078B6B
.logical mapped($078B6B)
.dsection AIIgnoreTableSection
.endlogical
* := $07F2D7
.logical mapped($07F2D7)
startFreespace
.fill mapped($078000) + $8000 - *, $FF
endFreespace
.endlogical
* := $0836F3
.logical mapped($0836F3)
.dsection UnitWindowTempSection
.endlogical
* := $08434E
.logical mapped($08434E)
.dsection UnitWindow90Section
startFreespace
.fill mapped($080000) + $8000 - *, $FF
endFreespace
.endlogical
* := $0871F3
.logical mapped($0871F3)
startFreespace
.fill mapped($080000) + $8000 - *, $FF
endFreespace
.endlogical
* := $08CCEA
.logical mapped($08CCEA)
.dsection AS_ASMCDrawSpecialMarkerSection
.dsection AS_ASMCDrawSpecialMarkerDataSection
startFreespace
.fill mapped($088000) + $8000 - *, $FF
endFreespace
.endlogical
* := $090000
.logical mapped($090000)
startDialogue
.dsection Chapter06DialogueSection
.dsection Chapter12DialogueSection
.dsection Chapter12xDialogueSection
.dsection Chapter14DialogueSection
.dsection Chapter15DialogueSection
.dsection Chapter20DialogueSection
endDialogue
.endlogical
* := $097D45
.logical mapped($097D45)
startFreespace
.fill mapped($090000) + $8000 - *, $FF
endFreespace
.endlogical
* := $098000
.logical mapped($098000)
startDialogue
.dsection Chapter03DialogueSection
.dsection Chapter05DialogueSection
.dsection Chapter07DialogueSection
.dsection Chapter08DialogueSection
.dsection Chapter08xDialogueSection
.dsection Chapter09DialogueSection
endDialogue
.endlogical
* := $09ECEF
.logical mapped($09ECEF)
startFreespace
.fill mapped($098000) + $8000 - *, $FF
endFreespace
.endlogical
* := $0A7DEA
.logical mapped($0A7DEA)
startFreespace
.fill mapped($0A0000) + $8000 - *, $FF
endFreespace
.endlogical
* := $0AA493
.logical mapped($0AA493)
startDialogue
.dsection Chapter01DialogueSection
.dsection Chapter02DialogueSection
.dsection Chapter02xDialogueSection
.dsection Chapter04DialogueSection
.dsection Chapter11DialogueSection
.dsection Chapter21xDialogueSection
endDialogue
.endlogical
* := $0AFD4C
.logical mapped($0AFD4C)
startFreespace
.fill mapped($0A8000) + $8000 - *, $FF
endFreespace
.endlogical
* := $0B7711
.logical mapped($0B7711)
startFreespace
.fill mapped($0B0000) + $8000 - *, $FF
endFreespace
.endlogical
* := $0B805A
.logical mapped($0B805A)
startEventScenes
.dsection Chapter02xEventsSection
.dsection Chapter08xEventsSection
endEventScenes
.endlogical
* := $0BFB88
.logical mapped($0BFB88)
startFreespace
.fill mapped($0B8000) + $8000 - *, $FF
endFreespace
.endlogical
* := $0C0000
.logical mapped($0C0000)
startDialogue
.dsection Chapter04xDialogueSection
.dsection Chapter11xDialogueSection
.dsection Chapter16ADialogueSection
.dsection Chapter17ADialogueSection
.dsection Chapter23DialogueSection
endDialogue
.endlogical
* := $0C6C60
.logical mapped($0C6C60)
startFreespace
.fill mapped($0C0000) + $8000 - *, $FF
endFreespace
.endlogical
* := $0C81B4
.logical mapped($0C81B4)
startEventScenes
.dsection Chapter02EventsSection
.dsection Chapter04EventsSection
.dsection Chapter05EventsSection
.dsection Chapter06EventsSection
.dsection Chapter07EventsSection
.dsection Chapter08EventsSection
endEventScenes
.endlogical
* = $0D37EF
.logical mapped($0D37EF)
.dsection ChapterTitleSection
.endlogical
* := $0D6C8D
.logical mapped($0D6C8D)
.dsection UnitWindow9ASection
startFreespace
.fill mapped($0D0000) + $8000 - *, $FF
endFreespace
.endlogical
* := $0DFE95
.logical mapped($0DFE95)
startFreespace
.fill mapped($0D8000) + $8000 - *, $FF
endFreespace
.endlogical
* := $0E7F71
.logical mapped($0E7F71)
startFreespace
.fill mapped($0E0000) + $8000 - *, $FF
endFreespace
.endlogical
* := $0EFEF0
.logical mapped($0EFEF0)
startFreespace
.fill mapped($0E8000) + $8000 - *, $FF
endFreespace
.endlogical
* := $0F0786
.logical mapped($0F0786)
startFreespace
.fill mapped($0F1000) - *, $FF
endFreespace
.endlogical
* := $0F73B2
.logical mapped($0F73B2)
startFreespace
.fill mapped($0F0000) + $8000 - *, $FF
endFreespace
.endlogical
* := $0FF4C4
.logical mapped($0FF4C4)
startFreespace
.fill mapped($0F8000) + $8000 - *, $FF
endFreespace
.endlogical
* := $180000
.logical mapped($180000)
startData
.dsection ItemBonusesSection
endData
.endlogical
* := $182EBC
.logical mapped($182EBC)
startDialogue
.dsection Chapter19DialogueSection
.dsection Chapter21DialogueSection
.dsection Chapter22DialogueSection
.dsection Chapter24DialogueSection
endDialogue
.endlogical
* := $18D508
.logical mapped($18D508)
startEventData
.dsection Chapter09DataSection
.dsection Chapter08xDataSection
.dsection Chapter08DataSection
.dsection Chapter07DataSection
.dsection Chapter06DataSection
.dsection Chapter05DataSection
.dsection Chapter04xDataSection
.dsection Chapter04DataSection
.dsection Chapter03DataSection
.dsection Chapter02xDataSection
.dsection Chapter02DataSection
.dsection Chapter01DataSection
endEventData
.endlogical
* := $1CBFB0