Pokemon R/B: Add Revive to better_shops (#1352)

This commit is contained in:
Alchav 2023-01-02 13:21:08 -05:00 committed by GitHub
parent 1f1ef10cfe
commit dae1a3e0f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -507,9 +507,9 @@ def generate_output(self, output_directory: str):
inventory = ["Poke Ball", "Great Ball", "Ultra Ball"] inventory = ["Poke Ball", "Great Ball", "Ultra Ball"]
if self.multiworld.better_shops[self.player].value == 2: if self.multiworld.better_shops[self.player].value == 2:
inventory.append("Master Ball") inventory.append("Master Ball")
inventory += ["Potion", "Super Potion", "Hyper Potion", "Max Potion", "Full Restore", "Antidote", "Awakening", inventory += ["Potion", "Super Potion", "Hyper Potion", "Max Potion", "Full Restore", "Revive", "Antidote",
"Burn Heal", "Ice Heal", "Paralyze Heal", "Full Heal", "Repel", "Super Repel", "Max Repel", "Awakening", "Burn Heal", "Ice Heal", "Paralyze Heal", "Full Heal", "Repel", "Super Repel",
"Escape Rope"] "Max Repel", "Escape Rope"]
shop_data = bytearray([0xFE, len(inventory)]) shop_data = bytearray([0xFE, len(inventory)])
shop_data += bytearray([item_table[item].id - 172000000 for item in inventory]) shop_data += bytearray([item_table[item].id - 172000000 for item in inventory])
shop_data.append(0xFF) shop_data.append(0xFF)