forked from KatDevsGames/z3randomizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtables.asm
2758 lines (2330 loc) · 98.9 KB
/
tables.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
;================================================================================
; Item Tables
;--------------------------------------------------------------------------------
org $B08000 ; bank #$30 ; PC 0x180000 - 0x180006 [encrypted]
HeartPieceIndoorValues:
HeartPiece_Forest_Thieves:
db $17 ; #$17 = Heart Piece
HeartPiece_Lumberjack_Tree:
db $17
HeartPiece_Spectacle_Cave:
db $17
HeartPiece_Circle_Bushes:
db $17
HeartPiece_Graveyard_Warp:
db $17
HeartPiece_Mire_Warp:
db $17
HeartPiece_Smith_Pegs:
db $17
;--------------------------------------------------------------------------------
; 0x180006 - 0x18000F (unused) [encrypted]
;--------------------------------------------------------------------------------
org $B08010 ; PC 0x180010 - 0x180017 [encrypted]
SpriteItemValues:
RupeeNPC_MoldormCave:
db $46 ; #$46 = 300 Rupees
RupeeNPC_NortheastDarkSwampCave:
db $46 ; #$46 = 300 Rupees
LibraryItem:
db $1D ; #$1D = Book of Mudora
MushroomItem:
db $29 ; #$29 = Mushroom
WitchItem:
db $0D ; #$0D = Magic Powder
MagicBatItem:
db $4E ; #$4E = Half Magic Item (Default) - #$FF = Use Original Logic - See "HalfMagic" Below
EtherItem:
db $10 ; #$10 = Ether Medallion
BombosItem:
db $0F ; #$0F = Bombos Medallion
;--------------------------------------------------------------------------------
; 0x180017 - 0x18001F (unused) [encrypted]
;--------------------------------------------------------------------------------
org $B08020 ; PC 0x180020
DiggingGameRNG:
db $0F ; #$0F = 15 digs (default) (max ~30)
org $9DFD95 ; PC 0xEFD95
db $0F ; #$0F = 15 digs (default) (max ~30)
org $B08021 ; PC 0x180021
ChestGameRNG:
db $00 ; #$00 = 2nd chest (default) - #$01 = 1st chest
;--------------------------------------------------------------------------------
;0 = Bombos
;1 = Ether
;2 = Quake
org $B08022 ; PC 0x180022
MireRequiredMedallion:
db $01 ; #$01 = Ether (default)
org $B08023 ; PC 0x180023
TRockRequiredMedallion:
db $02 ; #$02 = Quake (default)
;--------------------------------------------------------------------------------
org $B08024 ; PC 0x180024 - 0x180027
BigFairyHealth:
db $A0 ; #$A0 = Refill Health (default) - #$00 = Don't Refill Health
BigFairyMagic:
db $00 ; #$80 = Refill Magic - #$00 = Don't Refill Magic (default)
SpawnNPCHealth:
db $A0 ; #$A0 = Refill Health (default) - #$00 = Don't Refill Health
SpawnNPCMagic:
db $00 ; #$80 = Refill Magic - #$00 = Don't Refill Magic (default)
;--------------------------------------------------------------------------------
org $B08028 ; PC 0x180028
FairySword:
db $03 ; #$03 = Golden Sword (default)
PedestalMusicCheck:
;org $88C435 ; <- 44435 - ancilla_receive_item.asm : 125
;db $01 ; #$01 = Master Sword (default)
org $8589B0 ; PC 0x289B0 ; sprite_master_sword.asm : 179
PedestalSword:
db $01 ; #$01 = Master Sword (default)
org $B08029 ; PC 0x180029 - 0x18002A
SmithItemMode:
db $01 ; #$00 = Classic Tempering Process - #$01 = Quick Item Get (default)
SmithItem:
db $02 ; #$02 = Tempered Sword (default)
org $86B55C ; PC 0x3355C ; sprite_smithy_bros.asm : 634
SmithSword:
db $02 ; #$02 = Tempered Sword (default)
;--------------------------------------------------------------------------------
; 0x18002B- 0x180030 (Unused)
;--------------------------------------------------------------------------------
org $B08031 ; PC 0x180031
EnableEasterEggs:
db $00 ; #$00 = Off (default) - #$01 = On
;--------------------------------------------------------------------------------
; 0x180032 (unused)
;--------------------------------------------------------------------------------
org $B08033 ; PC 0x180033
HeartBeep:
db $20 ; #$00 = Off - #$20 = Normal (default) - #$40 = Half Speed - #$80 = Quarter Speed
;--------------------------------------------------------------------------------
; 0x180034 - 0x180035 (Unused)
;--------------------------------------------------------------------------------
org $B08036 ; PC 0x180036 - 0x180037
RupoorDeduction:
dw $000A ; #$0A - Default (10 decimal)
;--------------------------------------------------------------------------------
org $B08038 ; PC 0x180038
LampConeSewers:
db $01 ; #$00 = Off - #$01 = On (default)
;--------------------------------------------------------------------------------
org $308039 ; PC 0x180039
ItemCounterHUD:
db $00 ; $00 = Off | $01 = Display TotalItemCounter / TotalItemCount display on HUD
;--------------------------------------------------------------------------------
org $B0803A ; PC 0x18003A-0x18003C
MapHUDMode:
db #$00 ; #$00 = Off (default) - #$01 = Display Dungeon Count w/Map - #$02 = Display Dungeon Count Always
MapMode:
db $00 ; #$00 = Always On (default) - #$01 = Require Map Item
CompassMode:
db $00 ; #$00 = Off (default) - #$01 = Display Dungeon Count w/Compass - #$02 = Display Dungeon Count Always
; #$80 = Move prizes to custom postion - #$40 = Compasses are shuffled and must be obtained to show position if bit on
;--------------------------------------------------------------------------------
org $B0803D ; PC 0x18003D
PersistentFloodgate:
db $00 ; #$00 = Off (default) - #$01 = On
;--------------------------------------------------------------------------------
org $B0803E ; PC 0x18003E (unused)
;--------------------------------------------------------------------------------
org $B0803F ; PC 0x18003F
HammerableGanon:
db $00 ; #$00 = Off (default) - #$01 = On
;--------------------------------------------------------------------------------
; 0x180040 - (unused)
;--------------------------------------------------------------------------------
org $B08041 ; PC 0x180041
AllowSwordlessMedallionUse:
db $00 ; #$00 = Off (default) - #$01 = Medallion Pads - #$02 = Always
;--------------------------------------------------------------------------------
org $B08042 ; PC 0x180042
PermitSQFromBosses:
db $00 ; #$00 = Off (default) - #$01 = On
;--------------------------------------------------------------------------------
; 0x180043 (unused)
;--------------------------------------------------------------------------------
org $B08044 ; PC 0x180044
AllowHammerTablets:
db $00 ; #$00 = Off (default) - #$01 = On
;--------------------------------------------------------------------------------
org $B0805D ; PC 0x18005D
AllowHammerEvilBarrierWithFighterSword:
db $00 ; #$00 = Off (default) - #$01 = On
;--------------------------------------------------------------------------------
org $B08045 ; PC 0x180045
; display ---edcba a: Small Keys, b: Big Key, c: Map, d: Compass, e: Bosses
HUDDungeonItems:
db $00
;--------------------------------------------------------------------------------
; 0x180046 (unused)
;--------------------------------------------------------------------------------
org $B08048 ; PC 0x180048
MenuSpeed:
db $08 ; #$08 (default) - higher is faster - #$E8 = instant open
org $8DDD9A ; PC 0x6DD9A (equipment.asm:95) ; Menu Down Chime
db $11 ; #$11 = Vwoop Down (Default) - #$20 = Menu Chime
org $8DDF2A ; PC 0x6DF2A (equipment.asm:466) ; Menu Up Chime
db $12 ; #$12 = Vwoop Up (Default) - #$20 = Menu Chime
org $8DE0E9 ; PC 0x6E0E9 (equipment.asm:780) ; Menu Up Chime
db $12 ; #$12 = Vwoop Up (Default) - #$20 = Menu Chime
;--------------------------------------------------------------------------------
org $B08049 ; PC 0x180049
MenuCollapse:
db $00 ; #$00 = Press Start (default) - #$10 = Release Start
;--------------------------------------------------------------------------------
org $B0804A ; PC 0x18004A
InvertedMode:
db $00 ; #$00 = Normal (default) - #$01 = Inverted
;--------------------------------------------------------------------------------
org $B0804B ; PC 0x18004B
QuickSwapFlag:
db $00 ; #$00 = Off (default) - #$01 = On
;--------------------------------------------------------------------------------
org $B0804C ; PC 0x18004C
SmithTravelsFreely:
db $00 ; #$00 = Off (default) - #$01 = On (frog/smith can enter multi-entrance doors)
;--------------------------------------------------------------------------------
org $B0804D ; PC 0x18004D
EscapeAssist: ; ScrubMode:
db $00
;---- -mba
;m - Infinite Magic
;b - Infinite Bombs
;a - Infinite Arrows
;--------------------------------------------------------------------------------
org $B0804E ; PC 0x18004E
UncleRefill:
db $00
;---- -mba
;m - Refill Magic
;b - Refill Bombs
;a - Refill Arrows
;--------------------------------------------------------------------------------
org $B0804F ; PC 0x18004F
ByrnaInvulnerability:
db $01 ; #$00 = Off - #$01 = On (default)
;--------------------------------------------------------------------------------
org $B08050 ; PC 0x180050 - 0x18005C
CrystalPendantFlags_2:
db $02 ; Ganons Tower - because 5D is not available right now - sewers doesn't get one
db $00 ; Hyrule Castle
db $00 ; Eastern Palace
db $00 ; Desert Palace
db $00 ; Agahnim's Tower
db $40 ; Swamp Palace
db $40 ; Palace of Darkness
db $40 ; Misery Mire
db $40 ; Skull Woods
db $40 ; Ice Palace
.hera
db $00 ; Tower of Hera
db $40 ; Thieves' Town
db $40 ; Turtle Rock
;Pendant: $00
;Crystal: $40
;No Icon: $80
;Aga1: $01
;Aga2: $02
;--------------------------------------------------------------------------------
org $B0805E ; PC 0x18005E - 0x18005F (Unused)
;--------------------------------------------------------------------------------
org $B08060 ; PC 0x180060 - 0x18007E
ProgrammableItemLogicJump_1:
JSL.l $000000 : RTL
ProgrammableItemLogicJump_2:
JSL.l $000000 : RTL
ProgrammableItemLogicJump_3:
JSL.l $000000 : RTL
org $B08061 ; PC 0x180061
ProgrammableItemLogicPointer_1:
dl $000000
org $B08066 ; PC 0x180066
ProgrammableItemLogicPointer_2:
dl $000000
org $B0806B ; PC 0x18006B
ProgrammableItemLogicPointer_3:
dl $000000
;--------------------------------------------------------------------------------
; 0x18007F (unused)
;--------------------------------------------------------------------------------
org $B08070 ; PC 0x180070 - 0x18007F
CrystalNumberTable:
db $69 ; Eastern
db $69 ; Hera
db $69 ; Desert
db $7F ; Darkness
db $6C ; Skull
db $7C ; TRock
db $6D ; Thieves
db $6F ; Mire
db $6E ; Ice
db $79 ; Swamp
db $00 ;
db $00 ;
db $00 ;
db $00 ;
db $00 ;
db $00 ;
;1 Indicator : 7F
;2 Indicator : 79
;3 Indicator : 6C
;4 Indicator : 6D
;5 Indicator : 6E
;6 Indicator : 6F
;7 Indicator : 7C
;8 Indicator : 7D
;9 Indicator : 7E
;Dark Red X : 69
;Light Red X : 78
;White X : 68
;Pendant UL : 60
;Pendant UR : 61
;Pendant BL : 70
;Pendant BR : 71
;Sword UL : 62
;Sword UR : 63
;Sword BL : 72
;Sword BR : 73
;Crystal UL : 64
;Crystal UR : 65
;Crystal BL : 74
;Crystal BR : 75
;Skull UL : 66
;Skull UR : 67
;Skull BL : 76
;Skull BR : 77
;Warp UL : 6A
;Warp UR : 6B
;Warp BL : 7A
;Warp BR : 7B
;--------------------------------------------------------------------------------
org $B08080 ; PC 0x180080 - 0x180083 ; Default to fill on upgrade. Can be set to 0 to not fill.
Upgrade5BombsRefill:
db $32
Upgrade10BombsRefill:
db $32
Upgrade5ArrowsRefill:
db $46
Upgrade10ArrowsRefill:
db $46
;--------------------------------------------------------------------------------
org $B08084 ; PC 0x180084 - 0x180085
PotionHealthRefill:
db $A0 ; #$A0 - Full Refill (Default)
PotionMagicRefill:
db $80 ; #$80 - Full Refill (Default)
;--------------------------------------------------------------------------------
org $B08086 ; PC 0x180086
GanonAgahRNG:
db $00 ; $00 = static rng, $01 = no extra blue balls/warps
;--------------------------------------------------------------------------------
org $B08087 ; PC 0x180087
IsEncrypted:
dw $0000 ; $0000 = not encrypted, $0001 = encrypted with static key, $0002 = Encrypted w/ passcode entry screen
;--------------------------------------------------------------------------------
org $B08089 ; PC 0x180089
TurtleRockAutoOpenFix:
db $00 ; #$00 - Normal, #$01 - Open TR Entrance if exiting from it
;--------------------------------------------------------------------------------
org $B0808A ; PC 0x18008A
BlockCastleDoorsInRain:
db $00 ; #$00 - Normal, $01 - Block them (Used by Entrance Rando in Standard Mode)
;--------------------------------------------------------------------------------
; 0x18008B-0x18008D (unused)
;--------------------------------------------------------------------------------
org $B0808E ; PC 0x18008E
FakeBoots:
db $00 ; #$00 = Off (default) - #$01 = On
;--------------------------------------------------------------------------------
; 0x18008F (unused)
;--------------------------------------------------------------------------------
org $B08090 ; PC 0x180090 - 0x180097
ProgressiveSwordLimit:
db $04 ; #$04 - 4 Swords (default)
ProgressiveSwordReplacement:
db $47 ; #$47 - 20 Rupees (default)
ProgressiveShieldLimit:
db $03 ; #$03 - 3 Shields (default)
ProgressiveShieldReplacement:
db $47 ; #$47 - 20 Rupees (default)
ProgressiveArmorLimit:
db $02 ; #$02 - 2 Armors (default)
ProgressiveArmorReplacement:
db $47 ; #$47 - 20 Rupees (default)
BottleLimit:
db $04 ; #$04 - 4 Bottles (default)
BottleLimitReplacement:
db $47 ; #$47 - 20 Rupees (default)
ProgressiveBowLimit:
db $02 ; #$02 - 2 Bows (default)
ProgressiveBowReplacement:
db $47 ; #$47 - 20 Rupees (default)
;--------------------------------------------------------------------------------
; 0x18009A - 0x18009C one mind
;--------------------------------------------------------------------------------
org $B0809A ; PC 0x18009A
OneMindPlayerCount:
db 0
org $B0809B ; PC 0x18009B - 0x18009C
OneMindTimerInit:
dw 0
;--------------------------------------------------------------------------------
; 0x18009D - Dungeon map icons
; .... ...b
;
; b - boss icon
;--------------------------------------------------------------------------------
org $B0809D
DungeonMapIcons:
db $01
;--------------------------------------------------------------------------------
; 0x18009E - 0x18009F (unused)
;--------------------------------------------------------------------------------
org $B080A0 ; PC 0x1800A0 - 0x1800A4
Bugfix_MirrorlessSQToLW:
db $01 ; #$00 = Original Behavior - #$01 = Randomizer Behavior (Default)
Bugfix_SwampWaterLevel:
db $01 ; #$00 = Original Behavior - #$01 = Randomizer Behavior (Default)
Bugfix_PreAgaDWDungeonDeathToFakeDW:
db $01 ; #$00 = Original Behavior - #$01 = Randomizer Behavior (Default)
Bugfix_SetWorldOnAgahnimDeath:
db $01 ; #$00 = Original Behavior - #$01 = Randomizer Behavior (Default)
Bugfix_PodEG:
db $01 ; #$00 = Original Behavior - #$01 = Randomizer Behavior (Default)
;--------------------------------------------------------------------------------
; 0x1800A5 - 0x1800AF (unused)
;--------------------------------------------------------------------------------
org $B080B0 ; 0x1800B0-0x1800BF
StaticDecryptionKey:
dd $00000000, $00000000, $00000000, $00000000
;--------------------------------------------------------------------------------
org $B080C0 ; 0x1800C0-0x1800C7 [encrypted]
KnownEncryptedValue:
db $31, $41, $59, $26, $53, $58, $97, $93
;--------------------------------------------------------------------------------
; 0x1800C8 - 0x1800FF (unused)
;--------------------------------------------------------------------------------
org $B08100 ; PC 0x180100 (0x40 bytes)
ShovelSpawnTable:
db $B2 ; Gold Bee
db $D8, $D8, $D8 ; Single Heart
db $D8, $D8, $D8, $D8, $D8 ; Single Heart
db $D9, $D9, $D9, $D9, $D9 ; Green Rupee
db $DA, $DA, $DA, $DA, $DA ; Blue Rupee
db $DB, $DB, $DB, $DB, $DB ; Red Rupee
db $DC, $DC, $DC, $DC, $DC ; 1 Bomb
db $DD, $DD, $DD, $DD, $DD ; 4 Bombs
db $DE, $DE, $DE, $DE, $DE ; 8 Bombs
db $DF, $DF, $DF, $DF, $DF ; Small Magic
db $E0, $E0, $E0, $E0, $E0 ; Large Magic
db $E1, $E1, $E1, $E1, $E1 ; 5 Arrows
db $E2, $E2, $E2, $E2, $E2 ; 10 Arrows
db $E3, $E3, $E3, $E3, $E3 ; Fairy
;--------------------------------------------------------------------------------
; Bank 30 resumes below at HeartPieceOutdoorValues
;--------------------------------------------------------------------------------
org $898B7C ; PC 0x48B7C
EtherTablet:
db $10 ; #$10 = Ether
org $88CAA9 ; PC 0x44AA9
db $10 ; #$10 = Ether
org $898B81 ; PC 0x48B81
BombosTablet:
db $0F ; #$0F = Bombos
org $88CAAE ; PC 0x44AAE
db $0F ; #$0F = Bombos
;--------------------------------------------------------------------------------
org $85FBD2 ; PC 0x2FBD2 - sprite_mad_batter.asm:209 - (#$01)
HalfMagic:
db $01 ; #$01 = 1/2 Magic (default) - #$02 = 1/4 Magic
;--------------------------------------------------------------------------------
org $87ADA7 ; PC 0x3ADA7 - Bank07.asm:7216 - (db 4, 8, 8)
CapeMagicUse:
db $04, $08, $10 ; change to db $04, $08, $08 for original cape behavior
org $88DC42 ; PC 0x45C42 - ancilla_cane_spark.asm:200 - (db 4, 2, 1)
ByrnaMagicUsage:
db $04, #$02, #$01 ; normal, 1/2, 1/4 magic
;--------------------------------------------------------------------------------
;Dungeon Music
;org $82D592 ; PC 0x15592
;11 - Pendant Dungeon
;16 - Crystal Dungeon
org $82D592+$03
Music_Castle:
db $10,$10,$10
org $82D592+$24
Music_AgaTower:
db $10
org $82D592+$81
Music_Sewer:
db $10
org $82D592+$08
Music_Eastern:
db $11
org $82D592+$09
Music_Desert:
db $11, $11, $11, $11
org $82D592+$33
Music_Hera:
db $11
org $82907A ; 0x1107A - Bank02.asm:3089 (#$11)
Music_Hera2:
db $11
org $828B8C ; 0x10B8C - Bank02.asm:2231 (#$11)
Music_Hera3:
db $11
org $82D592+$26
Music_Darkness:
db $16
org $82D592+$25
Music_Swamp:
db $16
org $82D592+$28
Music_Skull:
db $16, $16, $16, $16
org $82D592+$76
Music_Skull_Drop:
db $16, $16, $16, $16
org $82D592+$34
Music_Thieves:
db $16
org $82D592+$2D
Music_Ice:
db $16
org $82D592+$27
Music_Mire:
db $16
org $82D592+$35
Music_TRock:
db $16
org $82D592+$15
Music_TRock2:
db $16
org $82D592+$18
Music_TRock3:
db $16, $16
org $82D592+$37
Music_GTower:
db $16
;--------------------------------------------------------------------------------
; OWG EDM bridge sign text pointer (Message id of the upper left of map05 = map05)
;--------------------------------------------------------------------------------
org $87F501
dw $018E
;--------------------------------------------------------------------------------
; GT sign text pointer (Message id of the upper right of map43 = map44)
;--------------------------------------------------------------------------------
org $87F57F
dw $0190
;--------------------------------------------------------------------------------
; Pyramid sign text pointer (Message id of the upper left of map5B = map5B)
;--------------------------------------------------------------------------------
org $87F5AD
dw $0191
;--------------------------------------------------------------------------------
; HC (inverted) left sign text pointer (Message id of the upper left of map1B = map1B)
;--------------------------------------------------------------------------------
org $87F52D
dw $0190
;--------------------------------------------------------------------------------
; HC (inverted) right sign text pointer (Message id of the upper right of map1B = map1C)
;--------------------------------------------------------------------------------
org $87F52F
dw $0191
;--------------------------------------------------------------------------------
;Map Pendant / Crystal Indicators - DEPRECATED in favor of WorldMapIcon_tile, don't use
org $8ABF2E ; PC 0x53F02
dw $0100 ; #$6234 - Master Sword
org $8ABEF8 ; PC 0x53EF8
MapObject_Eastern:
dw $6238 ; #$6038 - Green Pendant / Courage
org $8ABF1C ; PC 0x53F1C
MapObject_Desert:
dw $6034 ; #$6034 - Blue Pendant / Power
org $8ABF0A ; PC 0x53F0A
MapObject_Hera:
dw $6032 ; #$6032 - Red Pendant / Wisdom
org $8ABF00 ; PC 0x53F00
MapObject_Darkness:
dw $6434 ; #6434 - Crystal
org $8ABF6C ; PC 0x53F6C
MapObject_Swamp:
dw $6434 ; #6434 - Crystal
org $8ABF12 ; PC 0x53F12
MapObject_Skull:
dw $6434 ; #6434 - Crystal
org $8ABF36 ; PC 0x53F36
MapObject_Thieves:
dw $6434 ; #6434 - Crystal
org $8ABF5A ; PC 0x53F5A
MapObject_Ice:
dw $6432 ; #6434 - Crystal 5/6
org $8ABF48 ; PC 0x53F48
MapObject_Mire:
dw $6432 ; #6434 - Crystal 5/6
org $8ABF24 ; PC 0x53F24
MapObject_TRock:
dw $6434 ; #6434 - Crystal
;--------------------------------------------------------------------------------
org $82A09B ; PC 0x1209B - Bank02.asm:5802 - (pool MilestoneItem_Flags:)
CrystalPendantFlags:
db $00 ; Sewers
db $00 ; Hyrule Castle
db $04 ; Eastern Palace
db $02 ; Desert Palace
db $00 ; Agahnim's Tower
db $10 ; Swamp Palace
db $02 ; Palace of Darkness
db $01 ; Misery Mire
db $40 ; Skull Woods
db $04 ; Ice Palace
.hera
db $01 ; Tower of Hera
db $20 ; Thieves' Town
db $08 ; Turtle Rock
;Pendant 1: $04
;Pendant 2: $02
;Pendant 3: $01
;Crystal 1: $02
;Crystal 2: $10
;Crystal 3: $40
;Crystal 4: $20
;Crystal 5: $04
;Crystal 6: $01
;Crystal 7: $08
;Crystal 8: $80
;--------------------------------------------------------------------------------
;Dungeons with no drops should match their respective world's normal vanilla prize ;xxx
;--------------------------------------------------------------------------------
org $81C6FC ; PC 0xC6FC - Bank01.asm:10344 - (db $00, $00, $01, $02, $00, $06, $06, $06, $06, $06, $03, $06, $06)
DungeonPrizeReceiptID:
db $00 ; Sewers
db $00 ; Hyrule Castle
db $37 ; Eastern Palace
db $39 ; Desert Palace
db $00 ; Agahnim's Tower
db $20 ; Swamp Palace
db $20 ; Palace of Darkness
db $20 ; Misery Mire
db $20 ; Skull Woods
db $20 ; Ice Palace
db $38 ; Tower of Hera
db $20 ; Thieves' Town
db $20 ; Turtle Rock
;Ether/Nothing: $00
;Green Pendant: $01
;Blue Pendant: $02
;Red Pendant: $03
;Heart Container: $04
;Bombos: $05
;Crystal: $06
;--------------------------------------------------------------------------------
org $82885E ; PC 0x1085E - Bank02.asm:1606 - (dw $0006, $005A, $0029, $0090, $00DE, $00A4, $00AC, $000D) ; DEPRECATED - DISCONTINUE USE
dw $0006 ; Crystal 2 Location
dw $005A ; Crystal 1 Location
dw $0029 ; Crystal 3 Location
dw $0090 ; Crystal 6 Location
dw $00DE ; Crystal 5 Location
dw $00A4 ; Crystal 7 Location
dw $00AC ; Crystal 4 Location ; AC
dw $000D ; Agahnim II Location ; 0D
;C8 = Armos Room
;33 = Lanmolas Room
;07 = Moldorm Room
;06 = Arrghus Room
;5A = Helmasaur Room
;29 = Mothula Room
;90 = Viterous Room
;DE = Kholdstare Room
;A4 = Trinexx Room
;AC = Blind Room
;0D = Agahnim 2 Room
;--------------------------------------------------------------------------------
;org $898B7D ; PC 0x48B7D - ancilla_init.asm:1630 - (db $37, $39, $38) ; DEPRECATED - DISCONTINUE USE
;PendantEastern:
;db $37
;PendantDesert:
;db $39
;PendantHera:
;db $38
;37:Pendant 1 Green / Courage
;38:Pendant 3 Red / Wisdom
;39:Pendant 2 Blue / Power
;--------------------------------------------------------------------------------
org $87B51D ; PC 0x3B51D
BlueBoomerangSubstitution:
db $FF ; no substitution
org $87B53B ; PC 0x3B53B
RedBoomerangSubstitution:
db $FF ; no substitution
;--------------------------------------------------------------------------------
;org $88D01A ; PC 0x4501A - ancilla_flute.asm - 42
;OldHauntedGroveItem:
; db $14 ; #$14 = Flute
;--------------------------------------------------------------------------------
;2B:Bottle Already Filled w/ Red Potion
;2C:Bottle Already Filled w/ Green Potion
;2D:Bottle Already Filled w/ Blue Potion
;3C:Bottle Already Filled w/ Bee
;3D:Bottle Already Filled w/ Fairy
;48:Bottle Already Filled w/ Gold Bee
org $86C8FF ; PC 0x348FF
WaterfallPotion: ; <-------------------------- FAIRY POTION STUFF HERE
db $2C ; #$2C = Green Potion
org $86C93B ; PC 0x3493B
PyramidPotion:
db $2C ; #$2C = Green Potion
;--------------------------------------------------------------------------------
org $B08140 ; PC 0x180140 - 0x18014A [encrypted]
HeartPieceOutdoorValues:
HeartPiece_Spectacle:
db $17
HeartPiece_Mountain_Warp:
db $17
HeartPiece_Maze:
db $17
HeartPiece_Desert:
db $17
HeartPiece_Lake:
db $17
HeartPiece_Swamp:
db $17
HeartPiece_Cliffside:
db $17
HeartPiece_Pyramid:
db $17
HeartPiece_Digging:
db $17
HeartPiece_Zora:
db $17
HauntedGroveItem:
db $14 ; #$14 = Flute
;--------------------------------------------------------------------------------
; 0x18014B - 0x18014F (unused) [encrypted]
;================================================================================
org $B08150 ; PC 0x180150 - 0x180159 [encrypted]
HeartContainerBossValues:
HeartContainer_ArmosKnights:
db $3E ; #$3E = Boss Heart (putting pendants here causes main pendants to not drop for obvious (in retrospect) reasons)
HeartContainer_Lanmolas:
db $3E
HeartContainer_Moldorm:
db $3E
HeartContainer_HelmasaurKing:
db $3E
HeartContainer_Arrghus:
db $3E
HeartContainer_Mothula:
db $3E
HeartContainer_Blind:
db $3E
HeartContainer_Kholdstare:
db $3E
HeartContainer_Vitreous:
db $3E
HeartContainer_Trinexx:
db $3E
;--------------------------------------------------------------------------------
; 0x180159 - 0x18015F (unused) [encrypted]
;================================================================================
org $B08160 ; PC 0x180160 - 0x180162
BonkKey_Desert:
db $24 ; #$24 = Small Key (default)
BonkKey_GTower:
db $24 ; #$24 = Small Key (default)
StandingKey_Hera:
db $24 ; #$24 = Small Key (default)
;--------------------------------------------------------------------------------
; 0x180163 - 0x180164 (unused)
;================================================================================
org $B08165 ; PC 0x180165
GoalItemIcon:
dw $280E ; #$280D = Star - #$280E = Triforce Piece (default)
;================================================================================
org $B08167 ; PC 0x180167-0x180167
GoalItemRequirement:
dw $0000 ; #$0000 = Off (default) - #$XXXX = Require $XX Goal Items - #$FFFF = Counter-Only
;================================================================================
org $B08169 ; PC 0x180169
AgahnimDoorStyle:
db $01 ; #00 = Never Locked - #$01 = Locked During Escape (default) - #$02 = Locked Without 7 Crystals
;================================================================================
org $B0816A ; PC 0x18016A
FreeItemText:
db $00 ; #00 = Off (default)
;--po bmcs
;p - enabled for non-prize crystals
;o - enabled for outside dungeon items
;b - enabled for inside big key items
;m - enabled for inside map items
;c - enabled for inside compass items
;s - enabled for inside small key items
;================================================================================
org $B0816B ; PC 0x18016B - 0x18016D
HardModeExclusionCaneOfByrnaUsage:
db $04, #$02, #$01 ; Normal, 1/2, 1/4 Magic
org $B0816E ; PC 0x18016E - 308170
HardModeExclusionCapeUsage:
db $04, #$08, #$10 ; Normal, 1/2, 1/4 Magic
;================================================================================
org $B08171 ; PC 0x180171
GanonPyramidRespawn:
db $01 ; #00 = Do not respawn on Pyramid after Death - #$01 = Respawn on Pyramid after Death (default)
;================================================================================
org $B08172 ; PC 0x180172
GenericKeys:
db $00 ; #00 = Dungeon-Specific Keys (Default) - #$01 = Generic Keys
;================================================================================
org $B08173 ; PC 0x180173
Bob:
db $01 ; #00 = Off - #$01 = On (Default)
;================================================================================
org $B08174 ; PC 0x180174
; Flag to fix Fake Light World/Fake Dark World as caused by leaving the underworld
; to the other world (As can be caused by EG, Certain underworld clips, or Entance Randomizer).
; Currently, Fake Worlds triggered by other causes like YBA's Fake Flute, are not affected.
FixFakeWorld:
db $01 ; #00 = Fix Off (Default) - #$01 = Fix On
;================================================================================
org $B08175 ; PC 0x180175 - 0x180179
ArrowMode:
db $00 ; #00 = Normal (Default) - #$01 = Rupees
ArrowModeWoodArrowCost: ; keep these together
dw $000A ; #$000A = 10 (Default)
ArrowModeSilverArrowCost: ; keep these together
dw $0032 ; #$0032 = 50 (Default)
;================================================================================
org $B0817A ; PC 0x18017A ; #$2000 for Eastern Palace
MapReveal_Sahasrahla:
dw $0000
org $B0817C ; PC 0x18017C ; #$0140 for Ice Palace and Misery Mire
MapReveal_BombShop:
dw $0000
;================================================================================
org $B0817E ; PC 0x18017E
Restrict_Ponds:
db $01 ; #$00 = Original Behavior - #$01 - Restrict to Bottles (Default)
;================================================================================
org $B0817F ; PC 0x18017F
DisableFlashing:
db $00 ; #$00 = Flashing Enabled (Default) - #$01 = Flashing Disabled
;================================================================================
;---- --hb
;h - Hookshot
;b - Boomerang
org $B08180 ; PC 0x180180
StunItemAction:
db $03 ; #$03 = Hookshot and Boomerang (Default)
;================================================================================
org $B08181 ; PC 0x180181
SilverArrowsUseRestriction:
db $00 ; #$00 = Off (Default) - #$01 = Only At Ganon
;================================================================================
org $B08182 ; PC 0x180182
SilverArrowsAutoEquip:
db $01 ; #$00 = Off - #$01 = Collection Time (Default) - #$02 = Entering Ganon - #$03 = Collection Time & Entering Ganon
;================================================================================
org $B08183 ; PC 0x180183
FreeUncleItemAmount:
dw $12C ; 300 rupees (Default)
;--------------------------------------------------------------------------------
org $B08185 ; PC 0x180185
RainDeathRefillTable:
RainDeathRefillMagic_Uncle:
db $00
RainDeathRefillBombs_Uncle:
db $00
RainDeathRefillArrows_Uncle:
db $00
RainDeathRefillMagic_Cell:
db $00
RainDeathRefillBombs_Cell:
db $00
RainDeathRefillArrows_Cell:
db $00
RainDeathRefillMagic_Mantle:
db $00
RainDeathRefillBombs_Mantle:
db $00
RainDeathRefillArrows_Mantle:
db $00
;================================================================================
; 0x18018E - 0x18018F (unused)
;================================================================================
org $B08190 ; PC 0x180190 - 0x180192
TimerStyle:
db $00 ; #$00 = Off (Default) - #$01 Countdown - #$02 = Stopwatch
TimeoutBehavior:
db $00 ; #$00 = DNF (Default) - #$01 = Sign Change (Requires TimerRestart == 1) - #$02 = OHKO - #$03 = End Game
TimerRestart:
db $00 ; #$00 = Locked (Default) - #$01 = Restart
;--------------------------------------------------------------------------------
org $B08193 ; PC 0x180193
ServerRequestMode:
db $00 ; #$00 = Off (Default) - #$01 = Synchronous - #$02 = Asychronous
;---------------------------------------------------------------------------------
org $B08194 ; PC 0x180194
TurnInGoalItems:
db $01 ; #$00 = Instant win if last goal item collected. $01 = (Default) must turn in goal items
;--------------------------------------------------------------------------------
org $B08195 ; PC 0x180195
ByrnaCaveSpikeDamage:
db $08 ; #$08 = 1 Heart (default) - #$02 = 1/4 Heart
;--------------------------------------------------------------------------------
org $B08196 ; PC 0x180196-0x180197
TotalItemCount: ; Total item count for HUD. Only counts items that use "item get" animation.
dw $00D8 ; 216
org $B08198 ; PC 0x180198-0x1801A9
GanonsTowerOpenAddress: ; 0x180198-0x180199
dw CrystalCounter ; Target address for GT open check
GanonsTowerOpenTarget: ; 0x18019A-0x18019B
dw $0007 ; Target amount for GT open modes to compare
GanonsTowerOpenMode: ; 0x18019C-0x18019D
dw $0001 ; $00 = Vanilla | $01 = Compare target with address
PedPullAddress: ; 0x18019E-0x18019F
dw PendantCounter ; Target address for ped pull check
PedPullTarget: ; 0x1801A0-0x1801A1
dw $0003 ; Target amount for ped pull modes to check
PedCheckMode: ; 0x1801A2-0x1801A3
dw $0000 ; $00 = vanilla | $01 = Compare address to target value
GanonVulnerableAddress: ; 0x1801A4-0x1801A5
dw CrystalCounter ; Target address for ped pull check
GanonVulnerableTarget: ; 0x1801A6-0x1801A7
dw $0007 ; Target amount for Ganon vulnerability modes to compare
GanonVulnerableMode: ; 0x1801A8-0x1801A9
dw $0000 ; #$00 = Off (default)
; #$01 = On
; #$02 = Require All Dungeons
; #$03 = Require "GanonVulnerableTarget" Crystals and Aga2
; #$04 = Require "GanonVulnerableTarget" Crystals
; #$05 = Require "GoalItemRequirement" Goal Items
; #$06 = Light Speed
; #$07 = Require All Crystals and Crystal Bosses
; #$08 = Require All Crystal Bosses only
; #$09 = Require All Dungeons No Agahnim
; #$0A = Require 100% Item Collection
; #$0B = Require 100% Item Collection and All Dungeons
;--------------------------------------------------------------------------------
; 0x18019A - 0x1801FF (unused)
;================================================================================
org $B08200 ; PC 0x180200 - 0x18020B
RedClockAmount:
dw $4650, #$0000 ; $00004650 = +5 minutes
BlueClockAmount:
dw $B9B0, #$FFFF ; $FFFFB9B0 = -5 minutes
GreenClockAmount:
dw $0000, #$0000
;--------------------------------------------------------------------------------
; 0x18020C-0x18020F (unused)
;--------------------------------------------------------------------------------
;================================================================================
org $89E3BB ; PC 0x4E3BB
db $E4 ; Hera Basement Key (Set to programmable HP $EB) (set to $E4 for original hookable/boomable key behavior)
;================================================================================
org $B08210 ; PC 0x180210
RandomizerSeedType:
db $00 ; #$00 = Casual (default) - #$01 = Glitched - #$02 = Speedrunner - #$A0 = Super Metroid Combo - #$FF = Not Randomizer
;--------------------------------------------------------------------------------
org $B08211 ; PC 0x180211
GameType:
;---- ridn
;r - room randomization
;i - item randomization
;d - door/entrance randomization
;n - enemy randomization
db $00 ; #$00 = Not Randomized (default)
;--------------------------------------------------------------------------------
;dgGe mutT
;d - Nonstandard Dungeon Configuration (Not Map/Compass/BigKey/SmallKeys in same quantity as vanilla)
;g - Requires Minor Glitches (Fake flippers, bomb jumps, etc)
;G - Requires Major Glitches (OW YBA/Clips, etc)
;e - Requires EG
;
;m - Contains Multiples of Major Items
;u - Contains Unreachable Items
;t - Minor Trolling (Swapped around levers, etc)
;T - Major Trolling (Forced-guess softlocks, impossible seed, etc)
org $B08212 ; PC 0x180212
WarningFlags:
db $00
;--------------------------------------------------------------------------------
org $B08213 ; PC 0x180213
TournamentSeed:
db $00 ; #$00 = Off (default) - #$01 = On
TournamentSeedInverse: