@gaialabs/iog-baserom 0.2.3 → 0.2.5

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.
@@ -211,7 +211,7 @@ code_0691BE! {
211
211
  TSB $joypadMaskStd
212
212
  LDA #$2000
213
213
  TRB $10
214
- COP [88] ( @table_0EE000 )
214
+ COP [88] ( @spriteset_enemies )
215
215
  LDY $player_actor
216
216
  LDA $0014, Y
217
217
  STA $14
@@ -290,8 +290,8 @@ code_0691BE! {
290
290
  -----------------------------------------
291
291
 
292
292
  loc_08DCAF! {
293
- COP [D6] ( #24, &code_08DCEC )
294
- COP [D4] ( #24, &code_08DCF3 )
293
+ COP [D6] ( #24, &GaiaHint_AuraDesc )
294
+ COP [D4] ( #24, &GaiaHint_AuraFull )
295
295
  COP [BF] ( &dialogstring_08E66C )
296
296
  LDA #$FFF0
297
297
  TSB $joypadMaskStd
@@ -389,11 +389,11 @@ loc_08EAAA! {
389
389
 
390
390
  -----------------------------------------
391
391
 
392
- code_08EF4E! {
392
+ AuraItemGrant! {
393
393
  LDA #$FFF0
394
394
  TSB $joypadMaskStd
395
395
  COP [DA] ( #05 )
396
- COP [D4] ( #24, &code_08EFC9 )
396
+ COP [D4] ( #24, &AuraItemInventoryFull )
397
397
  COP [86] ( #0A, #03, #14 )
398
398
  COP [8A]
399
399
  COP [84] ( #0A, #03 )
@@ -1,6 +1,6 @@
1
1
  ?BANK 00
2
2
 
3
- ?INCLUDE 'cop_handlers_collision'
3
+ ?INCLUDE 'cop_handlers_map'
4
4
 
5
5
  !SPTR $3E
6
6
  !DCMP_SIZE $78
@@ -261,7 +261,7 @@ loc_03F0A0! {
261
261
  -----------------------------------------
262
262
  ;Entry point for giving Jewels to Gem
263
263
 
264
- code_08CF68! {
264
+ JewelerCountJewels! {
265
265
  SEP #$20
266
266
  LDA #$00
267
267
  XBA
@@ -1,6 +1,6 @@
1
1
  ?BANK 03
2
2
 
3
- ?INCLUDE 'cop_handlers_actors'
3
+ ?INCLUDE 'cop_handlers_audio'
4
4
  ?INCLUDE 'chunk_03BAE1'
5
5
  ?INCLUDE 'scene_script'
6
6
  ?INCLUDE 'spc_transfer'
@@ -6,9 +6,9 @@
6
6
  --------------------------------------------------
7
7
 
8
8
  diary_ngp_option {
9
- JSR $&sub_0BEBF9
9
+ JSR $&DiaryMenuClearVram
10
10
  COP [6B] ( &dialogstring_0BF437 )
11
- COP [C8] ( &code_0BEB8B )
11
+ COP [C8] ( &DiaryRenderSlotStats )
12
12
  COP [BD] ( @consolestring_01EADC )
13
13
  LDA $0D8C
14
14
  AND #$0003
@@ -18,12 +18,12 @@ diary_ngp_option {
18
18
  COP [C2]
19
19
  LDA #$000C
20
20
  STA $7F101C, X
21
- COP [C8] ( &code_0BE527 )
21
+ COP [C8] ( &DiaryCameraPan )
22
22
  COP [E2] ( @diary_ngp_stub )
23
- COP [40] ( #$0800, &code_0BE398 )
24
- COP [40] ( #$0400, &code_0BE3B1 )
23
+ COP [40] ( #$0800, &DiaryStartSlotUp )
24
+ COP [40] ( #$0400, &DiaryStartSlotDown )
25
25
  COP [40] ( #$0080, &diary_ngp_confirm )
26
- COP [40] ( #$8000, &code_0BE3CD )
26
+ COP [40] ( #$8000, &DiaryStartCancel )
27
27
  RTL
28
28
  }
29
29
 
@@ -51,7 +51,7 @@ diary_ngp_confirm {
51
51
  STA $306000
52
52
  JSL $@LoadGameState_Scene
53
53
  ;BCS code_0BE433
54
- JSR $&sub_0BE673
54
+ JSR $&ApplySoundAndRemap
55
55
  LDA $0AB2
56
56
  STA $0AAC
57
57
 
@@ -107,7 +107,7 @@ diary_ngp_str `[DLG:6,A][SIZ:A,5]Start Journey[N]Erase Trip Diary[N]Copy Tri
107
107
  ?INCLUDE 'sFA_diary_menu'
108
108
  --------------------------------------------------
109
109
 
110
- code_0BE23A! {
110
+ DiaryMenuInit! {
111
111
  LDA #$0000
112
112
  STA $7F0A00
113
113
  SEP #$20
@@ -150,7 +150,7 @@ code_0BE23A! {
150
150
  TSB $joypadMaskStd
151
151
  LDA #$2800
152
152
  TSB $playerFlags
153
- JSR $&sub_0BED64
153
+ JSR $&DiaryScanSramSlots
154
154
  COP [BD] ( @consolestring_01EADC )
155
155
  LDA $20
156
156
  BEQ diary_menu_normal
@@ -172,7 +172,7 @@ code_0BE23A! {
172
172
 
173
173
  -----------------------------------------------
174
174
 
175
- code_0BE2F6! {
175
+ DiaryTabCursorUp! {
176
176
  COP [06] ( #10 )
177
177
  LDA $20
178
178
  BEQ diary_main_dec_normal
@@ -192,7 +192,7 @@ diary_main_dec_normal {
192
192
 
193
193
  ------------------------------------------------
194
194
 
195
- func_0BE2CC! {
195
+ DiaryMainMenuEntry! {
196
196
  LDA $20
197
197
  BEQ diary_print_normal
198
198
  COP [6B] ( &diary_ngp_str )
@@ -204,7 +204,7 @@ func_0BE2CC! {
204
204
 
205
205
  ------------------------------------------------
206
206
 
207
- code_0BE30F! {
207
+ DiaryTabCursorDown! {
208
208
  COP [06] ( #10 )
209
209
  LDA $20
210
210
  BEQ diary_main_inc_normal
@@ -226,7 +226,7 @@ diary_main_inc_normal {
226
226
 
227
227
  -----------------------------------------------
228
228
 
229
- code_0BE32B! {
229
+ DiaryTabConfirm! {
230
230
  COP [06] ( #11 )
231
231
  LDA $0656
232
232
  ORA $0658
@@ -240,17 +240,17 @@ code_0BE32B! {
240
240
  }
241
241
 
242
242
  code_list_0BE34C! [
243
- &code_0BE354 ;00
244
- &code_0BEA55 ;01
245
- &func_0BE8A8 ;02
246
- &func_0BE6BA ;03
243
+ &DiaryStartJourney ;00
244
+ &DiaryEraseTab ;01
245
+ &DiaryCopyTab ;02
246
+ &DiarySndBtnTab ;03
247
247
  &diary_ngp_option ;04
248
248
  ]
249
249
 
250
250
  -----------------------------------------------
251
251
  ;Code for loading diary data into temp variables
252
252
 
253
- sub_0BED64! {
253
+ DiaryScanSramSlots! {
254
254
  PHX
255
255
  LDA #$0000
256
256
  STA $0D74
@@ -284,7 +284,7 @@ sub_0BED64! {
284
284
  loc_0BEDA3!:
285
285
  STA $0D8C
286
286
 
287
- code_0BEDA6!:
287
+ DiaryScanSramLoop!:
288
288
  LDA $24
289
289
  XBA
290
290
  ASL
@@ -271,7 +271,7 @@ RunActors_Normal! {
271
271
  ------------------------------------------------
272
272
  ;Disable continue option when saving
273
273
 
274
- code_08DBB1! {
274
+ GaiaSaveConfirm! {
275
275
  LDA $0D8C
276
276
  JSL $@SaveGameState_Scene
277
277
  COP [07] ( #29 )
@@ -282,13 +282,13 @@ code_08DBB1! {
282
282
  TRB $joypadMaskStd
283
283
  ;COP [BF] ( &dialogstring_08DDFE )
284
284
  ;COP [BE] ( #02, #01, &code_list_08DBD4 )
285
- BRA code_08DBDA
285
+ BRA GaiaDontRecord
286
286
  }
287
287
 
288
288
  -----------------------------------------------
289
289
  ;Disable region protection
290
290
 
291
- func_0BC896! {
291
+ BootLogoPalTextFallback! {
292
292
  BRA loc_0BC8EA
293
293
  }
294
294