@gaialabs/iog-baserom 0.2.6 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/baserom/auto-use-items/CellKeysAutoUse.patch.asm +30 -0
  2. package/baserom/auto-use-items/CrystalBallAutoUse.patch.asm +131 -0
  3. package/baserom/auto-use-items/DiamondBlockAutoUse.patch.asm +50 -0
  4. package/baserom/auto-use-items/ElevatorKeyAutoUse.patch.asm +26 -0
  5. package/baserom/auto-use-items/GorgonFlowerAutoUse.patch.asm +153 -0
  6. package/baserom/auto-use-items/HieroglyphPuzzle.patch.asm +1187 -0
  7. package/baserom/auto-use-items/HopeStatueAutoUse.patch.asm +99 -0
  8. package/baserom/auto-use-items/IncanStatueAutoUse.patch.asm +75 -0
  9. package/baserom/auto-use-items/ItemUseStub.patch.asm +24 -0
  10. package/baserom/auto-use-items/MagicPowerAutoUse.patch.asm +55 -0
  11. package/baserom/auto-use-items/MeatAutoUse.patch.asm +33 -0
  12. package/baserom/auto-use-items/MushroomDropAutoUse.patch.asm +100 -0
  13. package/baserom/auto-use-items/PalaceKeyAutoUse.patch.asm +52 -0
  14. package/baserom/auto-use-items/PrisonKeyAutoUse.patch.asm +84 -0
  15. package/baserom/auto-use-items/PurificationStoneAutoUse.patch.asm +49 -0
  16. package/baserom/auto-use-items/RamaStatueAutoUse.patch.asm +100 -0
  17. package/baserom/auto-use-items/TearpotAutoUse.patch.asm +41 -0
  18. package/baserom/{spritemaps → boot-logo}/spm_boot_logos.sprite.asm +10 -0
  19. package/baserom/collectible-system/RelicMenu.patch.asm +250 -0
  20. package/baserom/collectible-system/key_item_core.asm +445 -0
  21. package/baserom/{patches → equipped-icon}/EquippedIcon.patch.asm +41 -46
  22. package/baserom/equipped-icon/ItemSwapping.patch.asm +99 -0
  23. package/baserom/{palettes → equipped-icon}/pal_item_exprite2.pal +0 -0
  24. package/baserom/{spritemaps → equipped-icon}/spm_sc02_main_characters.sprite.asm +10 -0
  25. package/baserom/equipped-icon/spriteset_aura.asm +131 -0
  26. package/baserom/equipped-icon/spriteset_dark_friar.asm +277 -0
  27. package/baserom/equipped-icon/spriteset_darkgaia_projectile.asm +233 -0
  28. package/baserom/fixes-tweaks/BCDHex.patch.asm +60 -0
  29. package/baserom/fixes-tweaks/HudRedesign.patch.asm +108 -0
  30. package/baserom/fixes-tweaks/NeilsFatherFix.patch.asm +26 -0
  31. package/baserom/fixes-tweaks/PyramidPortalExit.patch.asm +41 -0
  32. package/baserom/fixes-tweaks/SceneTitles.patch.asm +84 -0
  33. package/baserom/fixes-tweaks/ThankfulFlower.patch.asm +28 -0
  34. package/baserom/fixes-tweaks/Utils.patch.asm +111 -0
  35. package/baserom/{spritemaps → fixes-tweaks}/spm_goldship_sprites.sprite.asm +11 -0
  36. package/baserom/fonts/EnhancedOverworldText.patch.asm +44 -0
  37. package/baserom/fonts/EnhancedPrologueText.patch.asm +252 -0
  38. package/baserom/{graphics → fonts}/gfx_fonts.bin +0 -0
  39. package/baserom/fonts/gfx_overworld_font.bin +0 -0
  40. package/baserom/inventory/EnhancedSlotActor.patch.asm +50 -0
  41. package/baserom/inventory/InventoryCounters.patch.asm +407 -0
  42. package/baserom/inventory/InventoryManagement.patch.asm +390 -0
  43. package/baserom/kara-run/gfx_castle_sprites.bin +0 -0
  44. package/baserom/new-game-plus/NGPEpilogueSwitch.patch.asm +52 -0
  45. package/baserom/{patches → new-game-plus}/NewGamePlus.patch.asm +42 -23
  46. package/baserom/oakton/map_fr30.map +0 -0
  47. package/baserom/oakton/map_fr30_effect.map +0 -0
  48. package/baserom/options-menu/EnhancedInvItemPicker.patch.asm +130 -0
  49. package/baserom/options-menu/MinimalHudOption.patch.asm +109 -0
  50. package/baserom/options-menu/OptionsMenu.patch.asm +218 -0
  51. package/baserom/options-menu/TextSpeedOption.patch.asm +108 -0
  52. package/baserom/options-menu/options_input_remap.asm +373 -0
  53. package/baserom/options-menu/options_menu_core.asm +1221 -0
  54. package/baserom/patches/APUWaitFixes.patch.asm +30 -17
  55. package/baserom/patches/AccentMap.patch.asm +16 -5
  56. package/baserom/patches/MusicTransitions.patch.asm +41 -24
  57. package/baserom/player-input/MergeInputFlags.patch.asm +146 -0
  58. package/baserom/player-input/PlayerInput.patch.asm +51 -0
  59. package/baserom/red-jewels/AnnSparkle.patch.asm +28 -0
  60. package/baserom/red-jewels/ChestFlaggedHiddenRedJewel.patch.asm +50 -0
  61. package/baserom/red-jewels/FishermanRedJewel.patch.asm +55 -0
  62. package/baserom/red-jewels/LanceSparkle.patch.asm +38 -0
  63. package/baserom/red-jewels/RedJewelSparkle.patch.asm +49 -0
  64. package/baserom/red-jewels/SnakePanicSparkle.patch.asm +45 -0
  65. package/baserom/red-jewels/SparkleAlways.patch.asm.example +19 -0
  66. package/baserom/red-jewels/StoneGirlSparkle.patch.asm +26 -0
  67. package/baserom/red-jewels/TrappedSlaveSparkle.patch.asm +63 -0
  68. package/baserom/red-jewels/generic_sparkle.asm +57 -0
  69. package/baserom/run-button/RunButtonCore.patch.asm +89 -0
  70. package/baserom/run-button/RunButtonOption.patch.asm +50 -0
  71. package/baserom/{patches/BitmapPatch.patch.asm → scene-load/BitmapLoad.patch.asm} +27 -12
  72. package/baserom/scene-load/Cop51Decompress.patch.asm +98 -0
  73. package/baserom/scene-load/ExpriteLoader.patch.asm +82 -0
  74. package/baserom/scene-load/MapNameLookup.patch.asm +27 -0
  75. package/baserom/scene-load/MenuBGLoad.patch.asm +70 -0
  76. package/baserom/scene-load/SFXTable.patch.asm +92 -0
  77. package/baserom/scene-load/SceneMetaLoad.patch.asm +68 -0
  78. package/baserom/scene-load/SpritemapLoad.patch.asm +61 -0
  79. package/baserom/scene-load/TilemapLoad.patch.asm +109 -0
  80. package/baserom/scene-load/TilesetLoad.patch.asm +41 -0
  81. package/baserom/set_overworld.set +0 -0
  82. package/baserom/seths-jewel/SethsJewelGoldShip.patch.asm +22 -0
  83. package/baserom/seths-jewel/SethsJewelIcon.patch.asm +22 -0
  84. package/baserom/seths-jewel/SethsJewelItem.patch.asm +62 -0
  85. package/baserom/seths-jewel/SethsJewelSprites.patch.asm +49 -0
  86. package/baserom/{patches → sky-delivery}/SouthCapeDeliveryman.patch.asm +12 -3
  87. package/baserom/sky-delivery/WatermiaDeliveryman.patch.asm +15 -0
  88. package/dist/index.cjs +10159 -964
  89. package/dist/index.cjs.map +1 -1
  90. package/dist/index.d.cts +9 -1
  91. package/dist/index.d.cts.map +1 -1
  92. package/dist/index.d.mts +9 -1
  93. package/dist/index.d.mts.map +1 -1
  94. package/dist/index.mjs +10161 -967
  95. package/dist/index.mjs.map +1 -1
  96. package/package.json +10 -8
  97. package/baserom/asm/spriteset_aura.asm +0 -122
  98. package/baserom/asm/spriteset_dark_friar.asm +0 -268
  99. package/baserom/asm/spriteset_will_projectile.asm +0 -224
  100. package/baserom/patches/Cop51Patch.patch.asm +0 -81
  101. package/baserom/patches/DPShop.asm.old +0 -328
  102. package/baserom/patches/DeathWarp.asm.old +0 -174
  103. package/baserom/patches/ExpandedHealthBars.old +0 -203
  104. package/baserom/patches/ExpriteLoader.patch.asm +0 -66
  105. package/baserom/patches/GemShop.asm.old +0 -345
  106. package/baserom/patches/InventoryCounters.patch.asm +0 -292
  107. package/baserom/patches/InventoryManagement.patch.asm +0 -324
  108. package/baserom/patches/InventoryScript.asm.old +0 -319
  109. package/baserom/patches/ItemDictionary.asm.old +0 -86
  110. package/baserom/patches/ItemRewards.asm.old +0 -49
  111. package/baserom/patches/ItemSwapping.patch.asm +0 -80
  112. package/baserom/patches/MapNameLookup.patch.asm +0 -13
  113. package/baserom/patches/MenuBGPatch.patch.asm +0 -54
  114. package/baserom/patches/NGPEpilogueSwitch.patch.asm +0 -44
  115. package/baserom/patches/PixelConverter.patch.asm.old +0 -60
  116. package/baserom/patches/QuickScripts.asm.old +0 -210
  117. package/baserom/patches/RunButton.patch.asm +0 -79
  118. package/baserom/patches/SFXTable.patch.asm +0 -73
  119. package/baserom/patches/SceneLoadPatch.patch.asm +0 -52
  120. package/baserom/patches/SpritemapPatch.patch.asm +0 -45
  121. package/baserom/patches/Teleporter.patch.asm.old +0 -203
  122. package/baserom/patches/TilemapPatch.patch.asm +0 -94
  123. package/baserom/patches/TilesetPatch.patch.asm +0 -27
  124. package/baserom/patches/Utils.patch.asm +0 -414
  125. package/baserom/patches/WatermiaDeliveryman.patch.asm +0 -2
  126. /package/baserom/{graphics → boot-logo}/gfx_boot_exprite.raw.bin +0 -0
  127. /package/baserom/{graphics → boot-logo}/gfx_boot_logos.bin +0 -0
  128. /package/baserom/{palettes → boot-logo}/pal_boot_logos.pal +0 -0
  129. /package/baserom/{palettes → equipped-icon}/fx_palette_198000.pal +0 -0
  130. /package/baserom/{graphics → equipped-icon}/gfx_item_exprite.raw.bin +0 -0
  131. /package/baserom/{graphics → equipped-icon}/misc_fx_1CD580.bin +0 -0
  132. /package/baserom/{palettes → equipped-icon}/pal_item_exprite.pal +0 -0
  133. /package/baserom/{palettes → equipped-icon}/pal_sc02_main_characters.pal +0 -0
  134. /package/baserom/{graphics → fonts}/gfx_credits_font.bin +0 -0
  135. /package/baserom/{graphics → inventory}/gfx_inventory_sprites.bin +0 -0
@@ -1,94 +0,0 @@
1
- ?BANK 02
2
-
3
- ?INCLUDE 'scene_script'
4
-
5
- -- Patch for tilemap loading which adds support for no compression
6
-
7
- !sptr 3E
8
- !DCMP_SIZE 78
9
- !META_SIZE 0666
10
- !DST_OFF 0668
11
- !map_bounds_x 0692
12
- !map_bounds_y 0696
13
- !A1T0L 4302
14
- !A1B0 4304
15
-
16
- ---------------------------------------------
17
-
18
- loc_02883D! {
19
- REP #$20
20
-
21
- LDA [$sptr]
22
- INC $sptr
23
- INC $sptr
24
- CMP #$0001
25
- BMI HandleEmptyGeometry
26
- STA $DCMP_SIZE
27
- STA $META_SIZE
28
-
29
- SEP #$20
30
- LDA $066A
31
- BIT #$01
32
- BEQ loc_02888E
33
- LDX #$0000
34
- JSR $&StoreMapAndDecompress
35
- LDA $066A
36
- BIT #$02
37
- BEQ loc_028894
38
- LDX #$A000
39
- STX $3E
40
- LDA #$7E
41
- STA $40
42
- LDX #$C000
43
- STX $42
44
- LDA #$7E
45
- STA $44
46
- JSR $&DmaRomToWram
47
- LDA $01
48
- STA $0695
49
- XBA
50
- LDA $03
51
- STA $0699
52
- JSL $@SignedMultiply
53
- STA $069D
54
- BRA loc_028894
55
- }
56
-
57
- ---------------------------------------------
58
-
59
- WriteMapBounds! {
60
- REP #$20
61
- LDA $00
62
- STA $map_bounds_x, X -- copy stored width
63
- LDA $02
64
- STA $map_bounds_y, X -- copy stored height
65
- LDA $META_SIZE
66
- STA $069A, X -- copy stored multiply result (used by 0 index)
67
- STZ $DST_OFF -- zero dest offset
68
-
69
- JSR $&DmaRomToWram
70
- SEP #$20
71
- RTS
72
- }
73
-
74
- ---------------------------------------------
75
-
76
- DmaLowVramTileset! {
77
- REP #$20
78
- LDA [$sptr]
79
- INC $sptr
80
- INC $sptr
81
- CMP #$0000
82
- BMI do_copy
83
- BNE do_copy
84
- STA $DCMP_SIZE
85
- BRA loc_028943
86
-
87
- do_copy:
88
- SEP #$20
89
- LDX $sptr
90
- STX $A1T0L
91
- LDA $40
92
- STA $A1B0
93
- BRA loc_028959
94
- }
@@ -1,27 +0,0 @@
1
- ?BANK 02
2
-
3
- ?INCLUDE 'scene_script'
4
-
5
- !SPTR $3E
6
- !DCMP_SIZE $78
7
-
8
- -----------------------------------------------------
9
-
10
- loc_028768! {
11
- LDA $066A
12
- BEQ loc_0287BA
13
- LDA [$3E]
14
- STA $78
15
- INC $3E
16
- INC $3E
17
- CMP #$0000
18
- BEQ loc_02878A
19
- BMI loc_02878A
20
- LDX #$7000
21
- STX $7A
22
- JSL $@QuintetLzDecompress
23
- LDX #$7000
24
- STX $3E
25
- LDA #$007E
26
- STA $40
27
- }
@@ -1,414 +0,0 @@
1
- ?BANK 03
2
-
3
- ?INCLUDE 'chunk_028000'
4
- ?INCLUDE 'chunk_038000'
5
- ?INCLUDE 'chunk_03BAE1'
6
- ?INCLUDE 'system_strings'
7
- ?INCLUDE 'sE6_gaia'
8
- ?INCLUDE 'sFB_actor_0BC8BA'
9
-
10
- !token 00E6
11
- !joypad_mask_std 065A
12
- !camera_offset_x 06D6
13
- !camera_offset_y 06D8
14
- !camera_bounds_x 06DA
15
- !camera_bounds_y 06DC
16
- !player_flags 09AE
17
- !VMADDL 2116
18
- !A1T0L 4302
19
- !DAS0L 4305
20
-
21
- ------------------------------------------------
22
-
23
- ;Button flags
24
- ;8000 - (B) Attack/Talk
25
- ;4000 - (Y) Item/Cancel
26
- ;2000 - (SEL) Menu
27
- ;1000 - (STA) Pause
28
- ;0800 - UP
29
- ;0400 - DOWN
30
- ;0200 - LEFT
31
- ;0100 - RIGHT
32
- ;0080 - (A) Nothing
33
- ;0040 - (X) Nothing
34
- ;0020 - (L) Spin
35
- ;0010 - (R) Spin
36
-
37
-
38
- ---------------------------------------------------------
39
- ;Global scripts
40
- global_scripts {
41
- JSL @RunButton
42
- JSL @ItemSwapping
43
- RTS
44
- }
45
-
46
- -----------------------------------------------------------
47
-
48
- global_thinkers {
49
- PHX
50
- PHY
51
- ;JSL @PixelConverter
52
-
53
- PLY
54
- PLX
55
- RTS
56
- }
57
-
58
- ------------------------------------------------------------
59
-
60
- pause_debug_print |[NHM:14][CUR:C0,6]S:[BCD:2,644] X:[BCD:3,9A2] Y:[BCD:3,9A4] C:[BCD:4,E6]|
61
-
62
- ------------------------------------------------------------
63
- ;Hook for global thinkers
64
-
65
- RunThinkers_TypeD! {
66
- PHP
67
- PHD
68
- REP #$20
69
- JSR global_thinkers
70
- LDA $5A
71
- BEQ loc_03D1F2
72
- }
73
-
74
- ----------------------------------------------------------
75
-
76
- ;Prevent drawing of HUD BG layers
77
- ;code_03DED5 {
78
- ; PHP
79
- ; REP #$20
80
- ; LDA #$0001
81
- ; TSB $09EC
82
- ; PLP
83
- ; RTL
84
- ;}
85
-
86
-
87
- HudTilemapData! [
88
- #$2CCE ;06
89
- #$2CCF ;07
90
- #$0000 ;08
91
- #$0008 ;09
92
- #$ECEF ;0A
93
- #$2CDA ;0B
94
- #$2CDB ;0C
95
- #$2CDC ;0D
96
- #$2CDD ;0D
97
- #$ACE9 ;0D
98
- #$ECE9 ;0D
99
- #$6CDD ;0D
100
- #$6CDC ;10
101
- #$6CDB ;11
102
- #$6CDA ;12
103
- #$ACEF ;13
104
- #$0000 ;14
105
- #$0008 ;15
106
- #$6CCF ;16
107
- #$6CCE ;17
108
- #$2CDE ;1A
109
- #$0000 ;1B
110
- #$000A ;1C
111
- #$2CEA ;1D
112
- #$2CD9 ;1E
113
- #$0000 ;1F
114
- #$0001 ;20
115
- #$2CED ;21
116
- #$0000 ;1F
117
- #$0002 ;20
118
- #$6CED ;22
119
- #$0000 ;23
120
- #$0002 ;24
121
- #$6CEA ;25
122
- #$0000 ;26
123
- #$000A ;27
124
- #$6CDE ;28
125
- #$2CEE ;2B
126
- #$0000 ;2C
127
- #$000A ;2D
128
- #$2CFA ;2E
129
- #$2CFB ;2F
130
- #$2CFC ;30
131
- #$2CFD ;31
132
- #$2CE9 ;33
133
- #$6CE9 ;33
134
- #$6CFD ;32
135
- #$6CFC ;32
136
- #$6CFB ;34
137
- #$6CFA ;35
138
- #$0000 ;36
139
- #$000A ;37
140
- #$6CEE ;38
141
- #$0000 ;39
142
- #$0000 ;3A
143
- ]
144
-
145
-
146
- ----------------------------------------------------------
147
-
148
- ;Fix for string code 05 BCD processing to include hex chars
149
- loc_03ED90! {
150
- LDA $0000, Y
151
- AND #$0F
152
- CMP #$0A
153
- BMI bcd_numeric1
154
-
155
- CLC
156
- ADC #$37
157
- BRA bcd_store1
158
-
159
- bcd_numeric1:
160
- ORA #$30
161
-
162
- bcd_store1:
163
- REP #$20
164
- DEX
165
- DEX
166
- STA $7F0200, X
167
- SEP #$20
168
- DEC $000E
169
- BEQ loc_03EDC1
170
- LDA $0000, Y
171
- INY
172
- ;AND #$F0
173
- LSR
174
- LSR
175
- LSR
176
- LSR
177
- CMP #$0A
178
- BMI bcd_numeric2
179
-
180
- CLC
181
- ADC #$37
182
- BRA bcd_store2
183
-
184
- bcd_numeric2:
185
- ORA #$30
186
-
187
- bcd_store2:
188
- REP #$20
189
- DEX
190
- DEX
191
- STA $7F0200, X
192
- SEP #$20
193
- DEC $000E
194
- BNE loc_03ED90
195
- }
196
-
197
- ------------------------------------------------
198
-
199
- ;DMA size
200
- loc_02B06D! {
201
- AND #$DF
202
- STA $09EC
203
- LDX #$0080 ;Two lines of tiles
204
- STX $DAS0L
205
- }
206
-
207
- ----------------------------------------------
208
-
209
- ;VRAM DMA arguments (when copying BG3 layer)
210
- loc_02B078! {
211
- LDX #$7820
212
- STX $VMADDL
213
- LDX #$0240
214
- STX $A1T0L
215
- }
216
-
217
- ---------------------------------------------
218
-
219
- ClearVramBufferPartial! {
220
- PHX
221
- PHP
222
- REP #$20
223
- LDA #$0000
224
- LDX #$00C0
225
- BRA loc_02F07E
226
- }
227
-
228
- consolestring_01E7F6! |[CUR:42,0][NHM:8][HP][CUR:5A,0][NHM:14][BCD:1,AD8][CUR:64,0][NUM:AD6]|
229
-
230
- consolestring_01E818! |[NHM:4][CUR:6A,0][HE]|
231
-
232
- -------------------------------------------------
233
- ;Print debug string on radar screen
234
-
235
- loc_03808B! {
236
- LDA $camera_offset_x+1
237
- AND #$0F
238
- STA $token
239
- LDA $camera_offset_y+1
240
- ASL
241
- ASL
242
- ASL
243
- ASL
244
- ORA $token
245
- STA $token
246
- LDA $camera_bounds_x+1
247
- AND #$0F
248
- STA $token+1
249
- LDA $camera_bounds_y+1
250
- ASL
251
- ASL
252
- ASL
253
- ASL
254
- ORA $token+1
255
- STA $token+1
256
-
257
- COP [BD] ( @pause_debug_print )
258
- LDX #$0000
259
- PHX
260
- }
261
-
262
- -------------------------------------------------
263
- ;Prevent unequipped message
264
- UseItem_None! {
265
- RTS
266
- }
267
-
268
- ------------------------------------------------
269
- ;Hook into global actor code
270
- RunActors_Normal! {
271
- PHP
272
- PHD
273
- REP #$20
274
- JSR global_scripts
275
- LDA $player_flags
276
- BIT #$0008
277
- BEQ loc_03CB07
278
- LDA #$8000
279
- TRB $0656
280
- }
281
-
282
- ------------------------------------------------
283
- ;Disable continue option when saving
284
-
285
- GaiaSaveConfirm! {
286
- LDA $0D8C
287
- JSL $@SaveGameState_Scene
288
- COP [07] ( #29 )
289
- LDA #$FFF0
290
- TSB $joypadMaskStd
291
- COP [DA] ( #3B )
292
- LDA #$FFF0
293
- TRB $joypadMaskStd
294
- ;COP [BF] ( &dialogstring_08DDFE )
295
- ;COP [BE] ( #02, #01, &code_list_08DBD4 )
296
- BRA GaiaDontRecord
297
- }
298
-
299
- -----------------------------------------------
300
- ;Disable region protection
301
-
302
- BootLogoPalTextFallback! {
303
- BRA loc_0BC8EA
304
- }
305
-
306
- -----------------------------------------------
307
- ?INCLUDE 'sF7_credits'
308
-
309
- dialogstring_09F2FA! `[PAL:0][DLG:44,1] Built With GaiaLabs[N][PAL:4] By Kassiven[N][PAL:0] Ǫįņţ[N] ęťĔŇ[END]`!
310
-
311
-
312
- -----------------------------------------------
313
- ?INCLUDE 'text_measure'
314
-
315
- ;Auto-size and center scene titles
316
-
317
- loc_02A12C! {
318
- PHP
319
- PHB
320
-
321
- PEA #$CA01
322
- INC
323
- LSR
324
- PHA
325
- PEA #$C707
326
-
327
- CLC
328
- SBC #$10
329
- EOR #$FF
330
- PHA
331
-
332
- LDA #$C1
333
- PHA
334
-
335
- TSC
336
- LDY $3E
337
- PHY
338
- TAY
339
- INY
340
-
341
- LDA $40
342
- PHA
343
-
344
- LDA #$E0
345
- STA $00B4
346
- STZ $00B5
347
-
348
- REP #$20
349
- JSL $@DialogStringRenderer
350
- PLB
351
- PLY
352
-
353
- PLA
354
- PLA
355
- PLA
356
- JSL $@DialogStringRenderer
357
-
358
- PLB
359
- PLB
360
- PLP
361
- RTL
362
- }
363
-
364
- loc_02A17E! {
365
- LDA [$3E], Y
366
- CMP #$CA
367
- BEQ loc_02A1A7
368
- CMP #$E0
369
- BCS loc_02A1A2
370
- CMP #$C0
371
- BCC loc_02A1A2
372
- CMP #$CC
373
- BNE loc_02A197
374
- INY
375
- LDA [$3E], Y
376
- INY
377
- CLC
378
- ADC $00
379
- STA $00
380
- BRA loc_02A17E
381
- }
382
-
383
- --------------------------------------------
384
- ?INCLUDE 'inventory_menu'
385
- --------------------------------------------
386
- ;Force some palette colors for cleaner font
387
- InventoryMenuInit- [
388
- LDA #$4063
389
- STA $7F0A06
390
- LDA #$2180
391
- STA $7F0A2E
392
- ]
393
-
394
- ;Make flashing cursor show blank when hidden
395
- YesNoClearCursor! {
396
- LDA #$0001
397
- TSB $09EC
398
- LDA #$2060
399
- STA $7F0896
400
- STA $7F0916
401
- RTS
402
- }
403
-
404
- ;Make flashing cursor show blank when hidden
405
- TabClearCursor! {
406
- LDA #$0001
407
- TSB $09EC
408
- LDA #$2060
409
- STA $7F0784
410
- STA $7F0804
411
- STA $7F0884
412
- STA $7F0904
413
- RTS
414
- }
@@ -1,2 +0,0 @@
1
-
2
- scene_event_0CB41F+: actor-spawn < #14, #23, #07, @wa78_men >