Skip to content

Commit

Permalink
Added weapon energy refills as items (not in the pool)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLX5 committed May 25, 2024
1 parent 868964b commit 129f460
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions worlds/mmx/Items.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ class MMXItem(Item):
ItemName.small_hp: ItemData(STARTING_ID + 0x0030, False),
ItemName.large_hp: ItemData(STARTING_ID + 0x0031, False),
ItemName.life: ItemData(STARTING_ID + 0x0034, False),
ItemName.small_weapon: ItemData(STARTING_ID + 0x0032, False),
ItemName.large_weapon: ItemData(STARTING_ID + 0x0033, False),
}

item_groups = {
Expand Down
2 changes: 2 additions & 0 deletions worlds/mmx/Names/ItemName.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@
small_hp = "Small HP Refill"
large_hp = "Large HP Refill"
life = "1-Up"
small_weapon = "Small Weapon Energy Refill"
large_weapon = "Large Weapon Energy Refill"
4 changes: 2 additions & 2 deletions worlds/mmx/Rom.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
STARTING_ID + 0x0030: ["hp refill", 2],
STARTING_ID + 0x0031: ["hp refill", 8],
STARTING_ID + 0x0034: ["1up", 0],
#0xBD0032: ["small weapon refill"],
#0xBD0033: ["large weapon refill"]
STARTING_ID + 0x0032: ["weapon refill", 2],
STARTING_ID + 0x0033: ["weapon refill", 8],
}

boss_weakness_offsets = {
Expand Down

0 comments on commit 129f460

Please sign in to comment.