@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.
- package/baserom/auto-use-items/CellKeysAutoUse.patch.asm +30 -0
- package/baserom/auto-use-items/CrystalBallAutoUse.patch.asm +131 -0
- package/baserom/auto-use-items/DiamondBlockAutoUse.patch.asm +50 -0
- package/baserom/auto-use-items/ElevatorKeyAutoUse.patch.asm +26 -0
- package/baserom/auto-use-items/GorgonFlowerAutoUse.patch.asm +153 -0
- package/baserom/auto-use-items/HieroglyphPuzzle.patch.asm +1187 -0
- package/baserom/auto-use-items/HopeStatueAutoUse.patch.asm +99 -0
- package/baserom/auto-use-items/IncanStatueAutoUse.patch.asm +75 -0
- package/baserom/auto-use-items/ItemUseStub.patch.asm +24 -0
- package/baserom/auto-use-items/MagicPowerAutoUse.patch.asm +55 -0
- package/baserom/auto-use-items/MeatAutoUse.patch.asm +33 -0
- package/baserom/auto-use-items/MushroomDropAutoUse.patch.asm +100 -0
- package/baserom/auto-use-items/PalaceKeyAutoUse.patch.asm +52 -0
- package/baserom/auto-use-items/PrisonKeyAutoUse.patch.asm +84 -0
- package/baserom/auto-use-items/PurificationStoneAutoUse.patch.asm +49 -0
- package/baserom/auto-use-items/RamaStatueAutoUse.patch.asm +100 -0
- package/baserom/auto-use-items/TearpotAutoUse.patch.asm +41 -0
- package/baserom/{spritemaps → boot-logo}/spm_boot_logos.sprite.asm +10 -0
- package/baserom/collectible-system/RelicMenu.patch.asm +250 -0
- package/baserom/collectible-system/key_item_core.asm +445 -0
- package/baserom/{patches → equipped-icon}/EquippedIcon.patch.asm +41 -46
- package/baserom/equipped-icon/ItemSwapping.patch.asm +99 -0
- package/baserom/{palettes → equipped-icon}/pal_item_exprite2.pal +0 -0
- package/baserom/{spritemaps → equipped-icon}/spm_sc02_main_characters.sprite.asm +10 -0
- package/baserom/equipped-icon/spriteset_aura.asm +131 -0
- package/baserom/equipped-icon/spriteset_dark_friar.asm +277 -0
- package/baserom/equipped-icon/spriteset_darkgaia_projectile.asm +233 -0
- package/baserom/fixes-tweaks/BCDHex.patch.asm +60 -0
- package/baserom/fixes-tweaks/HudRedesign.patch.asm +108 -0
- package/baserom/fixes-tweaks/NeilsFatherFix.patch.asm +26 -0
- package/baserom/fixes-tweaks/PyramidPortalExit.patch.asm +41 -0
- package/baserom/fixes-tweaks/SceneTitles.patch.asm +84 -0
- package/baserom/fixes-tweaks/ThankfulFlower.patch.asm +28 -0
- package/baserom/fixes-tweaks/Utils.patch.asm +111 -0
- package/baserom/{spritemaps → fixes-tweaks}/spm_goldship_sprites.sprite.asm +11 -0
- package/baserom/fonts/EnhancedOverworldText.patch.asm +44 -0
- package/baserom/fonts/EnhancedPrologueText.patch.asm +252 -0
- package/baserom/{graphics → fonts}/gfx_fonts.bin +0 -0
- package/baserom/fonts/gfx_overworld_font.bin +0 -0
- package/baserom/inventory/EnhancedSlotActor.patch.asm +50 -0
- package/baserom/inventory/InventoryCounters.patch.asm +407 -0
- package/baserom/inventory/InventoryManagement.patch.asm +390 -0
- package/baserom/kara-run/gfx_castle_sprites.bin +0 -0
- package/baserom/new-game-plus/NGPEpilogueSwitch.patch.asm +52 -0
- package/baserom/{patches → new-game-plus}/NewGamePlus.patch.asm +42 -23
- package/baserom/oakton/map_fr30.map +0 -0
- package/baserom/oakton/map_fr30_effect.map +0 -0
- package/baserom/options-menu/EnhancedInvItemPicker.patch.asm +130 -0
- package/baserom/options-menu/MinimalHudOption.patch.asm +109 -0
- package/baserom/options-menu/OptionsMenu.patch.asm +218 -0
- package/baserom/options-menu/TextSpeedOption.patch.asm +108 -0
- package/baserom/options-menu/options_input_remap.asm +373 -0
- package/baserom/options-menu/options_menu_core.asm +1221 -0
- package/baserom/patches/APUWaitFixes.patch.asm +30 -17
- package/baserom/patches/AccentMap.patch.asm +16 -5
- package/baserom/patches/MusicTransitions.patch.asm +41 -24
- package/baserom/player-input/MergeInputFlags.patch.asm +146 -0
- package/baserom/player-input/PlayerInput.patch.asm +51 -0
- package/baserom/red-jewels/AnnSparkle.patch.asm +28 -0
- package/baserom/red-jewels/ChestFlaggedHiddenRedJewel.patch.asm +50 -0
- package/baserom/red-jewels/FishermanRedJewel.patch.asm +55 -0
- package/baserom/red-jewels/LanceSparkle.patch.asm +38 -0
- package/baserom/red-jewels/RedJewelSparkle.patch.asm +49 -0
- package/baserom/red-jewels/SnakePanicSparkle.patch.asm +45 -0
- package/baserom/red-jewels/SparkleAlways.patch.asm.example +19 -0
- package/baserom/red-jewels/StoneGirlSparkle.patch.asm +26 -0
- package/baserom/red-jewels/TrappedSlaveSparkle.patch.asm +63 -0
- package/baserom/red-jewels/generic_sparkle.asm +57 -0
- package/baserom/run-button/RunButtonCore.patch.asm +89 -0
- package/baserom/run-button/RunButtonOption.patch.asm +50 -0
- package/baserom/{patches/BitmapPatch.patch.asm → scene-load/BitmapLoad.patch.asm} +27 -12
- package/baserom/scene-load/Cop51Decompress.patch.asm +98 -0
- package/baserom/scene-load/ExpriteLoader.patch.asm +82 -0
- package/baserom/scene-load/MapNameLookup.patch.asm +27 -0
- package/baserom/scene-load/MenuBGLoad.patch.asm +70 -0
- package/baserom/scene-load/SFXTable.patch.asm +92 -0
- package/baserom/scene-load/SceneMetaLoad.patch.asm +68 -0
- package/baserom/scene-load/SpritemapLoad.patch.asm +61 -0
- package/baserom/scene-load/TilemapLoad.patch.asm +109 -0
- package/baserom/scene-load/TilesetLoad.patch.asm +41 -0
- package/baserom/set_overworld.set +0 -0
- package/baserom/seths-jewel/SethsJewelGoldShip.patch.asm +22 -0
- package/baserom/seths-jewel/SethsJewelIcon.patch.asm +22 -0
- package/baserom/seths-jewel/SethsJewelItem.patch.asm +62 -0
- package/baserom/seths-jewel/SethsJewelSprites.patch.asm +49 -0
- package/baserom/{patches → sky-delivery}/SouthCapeDeliveryman.patch.asm +12 -3
- package/baserom/sky-delivery/WatermiaDeliveryman.patch.asm +15 -0
- package/dist/index.cjs +10159 -964
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +9 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +10161 -967
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -8
- package/baserom/asm/spriteset_aura.asm +0 -122
- package/baserom/asm/spriteset_dark_friar.asm +0 -268
- package/baserom/asm/spriteset_will_projectile.asm +0 -224
- package/baserom/patches/Cop51Patch.patch.asm +0 -81
- package/baserom/patches/DPShop.asm.old +0 -328
- package/baserom/patches/DeathWarp.asm.old +0 -174
- package/baserom/patches/ExpandedHealthBars.old +0 -203
- package/baserom/patches/ExpriteLoader.patch.asm +0 -66
- package/baserom/patches/GemShop.asm.old +0 -345
- package/baserom/patches/InventoryCounters.patch.asm +0 -292
- package/baserom/patches/InventoryManagement.patch.asm +0 -324
- package/baserom/patches/InventoryScript.asm.old +0 -319
- package/baserom/patches/ItemDictionary.asm.old +0 -86
- package/baserom/patches/ItemRewards.asm.old +0 -49
- package/baserom/patches/ItemSwapping.patch.asm +0 -80
- package/baserom/patches/MapNameLookup.patch.asm +0 -13
- package/baserom/patches/MenuBGPatch.patch.asm +0 -54
- package/baserom/patches/NGPEpilogueSwitch.patch.asm +0 -44
- package/baserom/patches/PixelConverter.patch.asm.old +0 -60
- package/baserom/patches/QuickScripts.asm.old +0 -210
- package/baserom/patches/RunButton.patch.asm +0 -79
- package/baserom/patches/SFXTable.patch.asm +0 -73
- package/baserom/patches/SceneLoadPatch.patch.asm +0 -52
- package/baserom/patches/SpritemapPatch.patch.asm +0 -45
- package/baserom/patches/Teleporter.patch.asm.old +0 -203
- package/baserom/patches/TilemapPatch.patch.asm +0 -94
- package/baserom/patches/TilesetPatch.patch.asm +0 -27
- package/baserom/patches/Utils.patch.asm +0 -414
- package/baserom/patches/WatermiaDeliveryman.patch.asm +0 -2
- /package/baserom/{graphics → boot-logo}/gfx_boot_exprite.raw.bin +0 -0
- /package/baserom/{graphics → boot-logo}/gfx_boot_logos.bin +0 -0
- /package/baserom/{palettes → boot-logo}/pal_boot_logos.pal +0 -0
- /package/baserom/{palettes → equipped-icon}/fx_palette_198000.pal +0 -0
- /package/baserom/{graphics → equipped-icon}/gfx_item_exprite.raw.bin +0 -0
- /package/baserom/{graphics → equipped-icon}/misc_fx_1CD580.bin +0 -0
- /package/baserom/{palettes → equipped-icon}/pal_item_exprite.pal +0 -0
- /package/baserom/{palettes → equipped-icon}/pal_sc02_main_characters.pal +0 -0
- /package/baserom/{graphics → fonts}/gfx_credits_font.bin +0 -0
- /package/baserom/{graphics → inventory}/gfx_inventory_sprites.bin +0 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
; ==============================================================================
|
|
2
|
+
; Seth's Jewel (item $29) - inventory item definition and use handler
|
|
3
|
+
; ==============================================================================
|
|
4
|
+
; What it does: Adds a non-key collectible that looks like a Red Jewel but occupies
|
|
5
|
+
; its own inventory slot; manual Use prints custom text, clears the slot, then runs
|
|
6
|
+
; the same BCD +1 and orbit VFX path as a real Red Jewel (UseItem_AddAndSpawn).
|
|
7
|
+
; Vanilla behavior: Item $29 had blank name strings, unused UseItem_Unused handler,
|
|
8
|
+
; no description-table row, and shared blank pickup text (item_pickup_text_1B).
|
|
9
|
+
; Hooks (overrides): item_use_system.ItemHandlerJumpTable @+$52 -> UseItem_SethsJewel;
|
|
10
|
+
; system_strings name/description strings; item_pickup_text_table @+$52 pickup line.
|
|
11
|
+
; Adds: UseItem_SethsJewel, dialogstring_seths_jewel_use/get/desc (chained near tables).
|
|
12
|
+
; Depends on: ?INCLUDE item_use_system, system_strings, item_pickup_text_table;
|
|
13
|
+
; InventoryManagement UseItem_AddAndSpawn / RemoveEquippedItem; SethsJewelGoldShip gives #29.
|
|
14
|
+
; State: Item ID $29; increments $0AB0 (jewelsCollected) only via UseItem_AddAndSpawn on use.
|
|
15
|
+
; Hazards/notes: Not in KeyItemFlagIndex ($FF); AutoUseRedJewelHandler still only hooks $01.
|
|
16
|
+
; Table patches use byte offset #52 (entry $29 in word-indexed tables).
|
|
17
|
+
; ==============================================================================
|
|
18
|
+
|
|
19
|
+
?INCLUDE 'item_use_system'
|
|
20
|
+
?INCLUDE 'system_strings'
|
|
21
|
+
?INCLUDE 'item_pickup_text_table'
|
|
22
|
+
|
|
23
|
+
-------------------------------------------------------------
|
|
24
|
+
; Use handler dispatch. Array entries cannot be patched individually, so the whole table is replaced;
|
|
25
|
+
; the only difference from the extracted table is entry $29.
|
|
26
|
+
|
|
27
|
+
item_use_system.ItemHandlerJumpTable#52: &UseItem_SethsJewel
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
; Mirrors UseItem_RedJewel!: print text, free the slot, then BCD +1 and the orbit VFX.
|
|
31
|
+
; RemoveEquippedItem treats any non-$01 item as a plain slot clear and un-equips it.
|
|
32
|
+
; UseItem_AddAndSpawn ends in RTS, which returns to ItemUseEpilogue.
|
|
33
|
+
|
|
34
|
+
UseItem_SethsJewel {
|
|
35
|
+
COP [PrintDialogString] ( &dialogstring_seths_jewel_use )
|
|
36
|
+
JSR $&RemoveEquippedItem
|
|
37
|
+
JMP $&UseItem_AddAndSpawn
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
dialogstring_seths_jewel_use `[DEF]He raised Seth's Jewel![FIN]Seth's Jewel flies to[N]Jeweler Gem's in a[N]single ray of light![END]`
|
|
41
|
+
|
|
42
|
+
-------------------------------------------------------------
|
|
43
|
+
; Names / menu text / description (item ID $29). The two blank slots already exist in the tables.
|
|
44
|
+
|
|
45
|
+
system_strings.consolestring_01DD47! |Seth's [N] Jewel |
|
|
46
|
+
|
|
47
|
+
system_strings.consolestring_01E06B! |Seth's Jewel |
|
|
48
|
+
|
|
49
|
+
system_strings.item_description_table+= [
|
|
50
|
+
&consolestring_seths_jewel_desc ;29
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
consolestring_seths_jewel_desc |[DBL]Strange jewel[DBL]Seth found on[DBL]the Gold Ship.|
|
|
54
|
+
|
|
55
|
+
-------------------------------------------------------------
|
|
56
|
+
; Item-get / inventory-full line printed through [ADR:&item_pickup_text_table,DB8].
|
|
57
|
+
; Replaces the shared blank entry for $29 (everything else unchanged).
|
|
58
|
+
|
|
59
|
+
item_pickup_text_table.item_pickup_text_table#52: &dialogstring_seths_jewel_get
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
dialogstring_seths_jewel_get `You found Seth's Jewel!`
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
; ==============================================================================
|
|
2
|
+
; Seth's Jewel (item $29) - inventory menu sprite animation
|
|
3
|
+
; ==============================================================================
|
|
4
|
+
; What it does: Shows a Red-Jewel-style four-frame sparkle animation in the item grid,
|
|
5
|
+
; with the jewel tile drawn using OAM palette 2 (attr $04) instead of palette 6 ($0C).
|
|
6
|
+
; Vanilla behavior: inventory_spritemap[29] pointed at sprite_set_10822C with a single
|
|
7
|
+
; blank $0A00 frame (sprite_group_1089B4, duration $0000).
|
|
8
|
+
; Hooks (overrides): inventory_spritemap.sprite_set_10822C and sprite_group_1089B4;
|
|
9
|
+
; adds sprite_group_seths_jewel_1-3 chained after the reused frame-0 group.
|
|
10
|
+
; Depends on: ?INCLUDE inventory_spritemap; same-bank $& pointers to new groups.
|
|
11
|
+
; Hazards/notes: Part words are attr high byte + tile low byte ($0402 = tile $02, pal 2).
|
|
12
|
+
; ==============================================================================
|
|
13
|
+
|
|
14
|
+
inventory_spritemap.sprite_set_10822C! [
|
|
15
|
+
sprite-set < #$0005, &sprite_group_1089B4 > ;00
|
|
16
|
+
sprite-set < #$0005, &sprite_group_seths_jewel_1 > ;01
|
|
17
|
+
sprite-set < #$0005, &sprite_group_seths_jewel_2 > ;02
|
|
18
|
+
sprite-set < #$0005, &sprite_group_seths_jewel_3 > ;03
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
inventory_spritemap.sprite_group_1089B4! [
|
|
22
|
+
sprite-group < #08, #08, #10, #00, #F8, #F0, #01, #01, #F8, #10, #F0, #10, #02, [
|
|
23
|
+
sprite-part < #00, #05, #03, #07, #01, #$0CE2 > ;00
|
|
24
|
+
sprite-part < #01, #00, #00, #00, #00, #$0402 > ;01
|
|
25
|
+
] >
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
sprite_group_seths_jewel_1 [
|
|
29
|
+
sprite-group < #08, #08, #10, #00, #F8, #F0, #01, #01, #F8, #10, #F0, #10, #02, [
|
|
30
|
+
sprite-part < #00, #05, #03, #07, #01, #$0CF2 > ;00
|
|
31
|
+
sprite-part < #01, #00, #00, #00, #00, #$0402 > ;01
|
|
32
|
+
] >
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
sprite_group_seths_jewel_2 [
|
|
36
|
+
sprite-group < #08, #08, #11, #00, #F8, #F0, #01, #01, #F8, #10, #F0, #10, #03, [
|
|
37
|
+
sprite-part < #00, #05, #03, #08, #01, #$0CF3 > ;00
|
|
38
|
+
sprite-part < #00, #05, #03, #00, #09, #$0CE3 > ;01
|
|
39
|
+
sprite-part < #01, #00, #00, #01, #00, #$0402 > ;02
|
|
40
|
+
] >
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
sprite_group_seths_jewel_3 [
|
|
44
|
+
sprite-group < #08, #08, #11, #00, #F8, #F0, #01, #01, #F8, #10, #F0, #10, #03, [
|
|
45
|
+
sprite-part < #00, #05, #03, #08, #01, #$0CF4 > ;00
|
|
46
|
+
sprite-part < #01, #00, #00, #01, #00, #$0402 > ;01
|
|
47
|
+
sprite-part < #00, #05, #03, #00, #09, #$0CE4 > ;02
|
|
48
|
+
] >
|
|
49
|
+
]
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
; ==============================================================================
|
|
2
|
+
; South Cape (scene $01) - Sky Deliveryman spawn placement
|
|
3
|
+
; ==============================================================================
|
|
4
|
+
; What it does: Appends a Sky Deliveryman actor at tile (#0C, #2F) facing #00
|
|
5
|
+
; using the shared SouthCapeDeliveryman actor definition from this module set.
|
|
6
|
+
; Vanilla behavior: scene_01_actors list ended without this spawn entry.
|
|
7
|
+
; Hooks (overrides): scene_actors.scene_01_actors+= (actor-spawn append).
|
|
8
|
+
; Adds: actor_def SouthCapeDeliveryman (skyd_* COP script and dialog strings).
|
|
9
|
+
; Depends on: scene $01 actor table; COP D0/C0/BF/BE/E0/65/26 on confirm path.
|
|
10
|
+
; Hazards/notes: Append-only; does not replace existing South Cape spawns.
|
|
11
|
+
; ==============================================================================
|
|
3
12
|
|
|
4
13
|
--------------------------------------------
|
|
5
14
|
|
|
@@ -47,4 +56,4 @@ skyd_str_confirm `[CLR][LU1:9]here, birds.[N][LU2:3F]taking [LU1:D6]person[N]to
|
|
|
47
56
|
|
|
48
57
|
----------------------------------------
|
|
49
58
|
|
|
50
|
-
|
|
59
|
+
scene_actors.scene_01_actors+=: actor-spawn < #0C, #2F, #00, @SouthCapeDeliveryman >
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
; ==============================================================================
|
|
2
|
+
; Watermia (scene $78) - Sky Deliveryman fast travel NPC
|
|
3
|
+
; ==============================================================================
|
|
4
|
+
; What it does: Appends a Sky Deliveryman actor to scene $78; dialog offers a
|
|
5
|
+
; one-way trip to South Cape (scene $0D in $0D60, warp COP 65/26 to $78 coords).
|
|
6
|
+
; Vanilla behavior: scene_78_actors had no deliveryman entry at the patched slot.
|
|
7
|
+
; Hooks (overrides): scene_actors.scene_78_actors+= (actor-spawn append).
|
|
8
|
+
; Adds: One actor-spawn row only (no new actor_def in this file).
|
|
9
|
+
; Depends on: @wa78_men actor pointer (vanilla label in extracted/watermia/wa78_men.asm).
|
|
10
|
+
; State: Writes nextScene $0D60, map queue $064A $0404 on confirm.
|
|
11
|
+
; Hazards/notes: Actor COP requires X = actor slot; skyd_confirm uses fixed warp
|
|
12
|
+
; operands (#$00D4, #$03A4, scene #78) — verify against intended destination.
|
|
13
|
+
; ==============================================================================
|
|
14
|
+
|
|
15
|
+
scene_actors.scene_78_actors+=: actor-spawn < #14, #23, #07, @wa78_men >
|