@gaialabs/iog-baserom 0.1.5 → 0.1.7
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.
- package/baserom/patches/EquippedIcon.patch.asm +0 -12
- package/baserom/patches/InventoryCounters.patch.asm +8 -12
- package/baserom/patches/NGPEpilogueSwitch.patch.asm +1 -1
- package/baserom/patches/NewGamePlus.patch.asm +4 -14
- package/baserom/patches/RunButton.patch.asm +1 -1
- package/baserom/patches/Utils.patch.asm +3 -4
- package/dist/index.cjs +772 -3830
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +772 -3830
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,16 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
!player_flags 09AE
|
|
3
|
-
!inventory_slots 0AB4
|
|
4
|
-
!inventory_equipped_index 0AC4
|
|
5
|
-
!inventory_equipped_type 0AC6
|
|
6
|
-
!VMADDL 2116
|
|
7
|
-
!CGADD 2121
|
|
8
|
-
!MDMAEN 420B
|
|
9
|
-
!DMAP0 4300
|
|
10
|
-
!A1T0L 4302
|
|
11
|
-
!DAS0L 4305
|
|
12
|
-
|
|
13
|
-
|
|
14
2
|
?INCLUDE 'chunk_028000'
|
|
15
3
|
--------------------------------------------
|
|
16
4
|
|
|
@@ -49,12 +49,12 @@ generate_number_sprites {
|
|
|
49
49
|
ASL
|
|
50
50
|
ASL
|
|
51
51
|
TAX
|
|
52
|
-
LDA @
|
|
52
|
+
LDA @unk10_02EB86, X
|
|
53
53
|
CLC
|
|
54
54
|
ADC #$num_xoffset
|
|
55
55
|
STA $25
|
|
56
56
|
|
|
57
|
-
LDA @
|
|
57
|
+
LDA @unk10_02EB86+2, X
|
|
58
58
|
CLC
|
|
59
59
|
ADC #$num_yoffset
|
|
60
60
|
STA $26
|
|
@@ -123,7 +123,7 @@ push_number_sprite {
|
|
|
123
123
|
?INCLUDE 'system_strings'
|
|
124
124
|
---------------------------------------------
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
code_02E399 {
|
|
127
127
|
COP [88] ( @inventory_spritemap )
|
|
128
128
|
COP [BD] ( @asciistring_01E869 )
|
|
129
129
|
LDA #$1000
|
|
@@ -183,15 +183,11 @@ loc_02EB4D {
|
|
|
183
183
|
---------------------------------------------
|
|
184
184
|
;Cursor positions
|
|
185
185
|
|
|
186
|
-
|
|
187
|
-
#$004E ;00
|
|
188
|
-
#$0030 ;01
|
|
189
|
-
#$
|
|
190
|
-
#$0030 ;03
|
|
191
|
-
#$007E ;04
|
|
192
|
-
#$0030 ;05
|
|
193
|
-
#$0096 ;06
|
|
194
|
-
#$0030 ;07
|
|
186
|
+
unk10_02EAB0 [
|
|
187
|
+
unk10 < #$004E, #$0030 > ;00
|
|
188
|
+
unk10 < #$0066, #$0030 > ;01
|
|
189
|
+
unk10 < #$007E, #$0030 > ;02
|
|
190
|
+
unk10 < #$0096, #$0030 > ;03
|
|
195
191
|
]
|
|
196
192
|
|
|
197
193
|
------------------------------------------------
|
|
@@ -39,7 +39,7 @@ thinker_0CEA9B [
|
|
|
39
39
|
thinker < #74, @thinker_00B520 > ;00
|
|
40
40
|
thinker < #00, @thinker_00BCDF > ;01
|
|
41
41
|
thinker < #00, @thinker_00BCB3 > ;02
|
|
42
|
-
thinker < #24, @
|
|
42
|
+
thinker < #24, @parallax_thinker > ;03
|
|
43
43
|
thinker < #00, @h_epilogue_thinker > ;04
|
|
44
44
|
]
|
|
45
45
|
|
|
@@ -3,16 +3,6 @@
|
|
|
3
3
|
?INCLUDE 'system_strings'
|
|
4
4
|
?INCLUDE 'chunk_03BAE1'
|
|
5
5
|
|
|
6
|
-
!joypad_mask_std 065A
|
|
7
|
-
!joypad_mask_inv 065C
|
|
8
|
-
!player_flags 09AE
|
|
9
|
-
!W34SEL 2124
|
|
10
|
-
!WOBJSEL 2125
|
|
11
|
-
!_TM 212C
|
|
12
|
-
!_TS 212D
|
|
13
|
-
!CGWSEL 2130
|
|
14
|
-
!CGADSUB 2131
|
|
15
|
-
|
|
16
6
|
--------------------------------------------------
|
|
17
7
|
|
|
18
8
|
diary_ngp_option {
|
|
@@ -117,11 +107,11 @@ diary_ngp_str `[DLG:6,A][SIZ:A,5]Start Journey[N]Erase Trip Diary[N]Copy Tri
|
|
|
117
107
|
?INCLUDE 'sFA_diary_menu'
|
|
118
108
|
--------------------------------------------------
|
|
119
109
|
|
|
120
|
-
|
|
110
|
+
code_0BE23A {
|
|
121
111
|
LDA #$0000
|
|
122
112
|
STA $7F0A00
|
|
123
113
|
SEP #$20
|
|
124
|
-
STA $
|
|
114
|
+
STA $TM
|
|
125
115
|
REP #$20
|
|
126
116
|
LDA #$FFFF
|
|
127
117
|
STA $0D92
|
|
@@ -142,9 +132,9 @@ e_sFA_diary_menu {
|
|
|
142
132
|
STA $00EE
|
|
143
133
|
SEP #$20
|
|
144
134
|
LDA #$01
|
|
145
|
-
STA $
|
|
135
|
+
STA $TM
|
|
146
136
|
LDA #$04
|
|
147
|
-
STA $
|
|
137
|
+
STA $TS
|
|
148
138
|
LDA #$82
|
|
149
139
|
STA $CGWSEL
|
|
150
140
|
LDA #$41
|
|
@@ -75,5 +75,5 @@ loc_0BE6B3 {
|
|
|
75
75
|
RTS
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
widestring_0BF538 `[DLG:6,8][SIZ:A,8][SKP:2]
|
|
78
|
+
widestring_0BF538 `[DLG:6,8][SIZ:A,8][SKP:2]Change Snd/Buttons[N]End Changes[N]Sound[N][LU2:2]Type[N][SKP:5] :Attack/Talk[N][SKP:5] :Item/Cancel[N][SKP:5] :Item Menu[N][SKP:5] :Sprint`
|
|
79
79
|
widestring_0BF5AD `[DLG:6,8][SIZ:A,8]Arrangement OK?[N]Start Journey[N]Sound[N][LU2:2]Type[N][SKP:5] :Attack/Talk[N][SKP:5] :Item/Cancel[N][SKP:5] :Item Menu[N][SKP:5] :Sprint`
|
|
@@ -370,8 +370,7 @@ loc_02A17E {
|
|
|
370
370
|
?INCLUDE 'inventory_menu'
|
|
371
371
|
--------------------------------------------
|
|
372
372
|
;Force some palette colors for cleaner font
|
|
373
|
-
|
|
374
|
-
h_actor < #00, #00, #28 > ;00
|
|
373
|
+
code_02E399- [
|
|
375
374
|
LDA #$4063
|
|
376
375
|
STA $7F0A06
|
|
377
376
|
LDA #$2180
|
|
@@ -379,7 +378,7 @@ h_inventory_menu [
|
|
|
379
378
|
]
|
|
380
379
|
|
|
381
380
|
;Make flashing cursor show blank when hidden
|
|
382
|
-
|
|
381
|
+
code_02EC46 {
|
|
383
382
|
LDA #$0001
|
|
384
383
|
TSB $09EC
|
|
385
384
|
LDA #$2060
|
|
@@ -389,7 +388,7 @@ sub_02EC46 {
|
|
|
389
388
|
}
|
|
390
389
|
|
|
391
390
|
;Make flashing cursor show blank when hidden
|
|
392
|
-
|
|
391
|
+
code_02ECE8 {
|
|
393
392
|
LDA #$0001
|
|
394
393
|
TSB $09EC
|
|
395
394
|
LDA #$2060
|