Skip to content

Commit 6e90da7

Browse files
committed
Get rid of some debug stuff
1 parent 3f9b9c6 commit 6e90da7

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

worlds/earthbound/modules/enemizer/randomize_enemy_attacks.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@
200200
"missile": 0x01A8
201201
}
202202

203-
test_actions = ["Hypnosis Alpha", "Paint Attack", "Peck at Eyes", "Coil Around"]
204203

205204

206205
def randomize_enemy_attacks(world: "EarthBoundWorld", rom: "LocalRom") -> None:
@@ -221,13 +220,6 @@ def randomize_enemy_attacks(world: "EarthBoundWorld", rom: "LocalRom") -> None:
221220
attack_id = battle_actions[attack]
222221
if attack in spell_breaks:
223222
world.enemy_psi[enemy][i] = attack
224-
225-
if world.enemies[enemy].name == "Loaded Dice 2":
226-
attack = test_actions[i]
227-
if attack == "Hypnosis Alpha":
228-
attack_id = psi_actions[attack]
229-
else:
230-
attack_id = battle_actions[attack]
231223

232224
if attack in needs_argument:
233225
argument = world.random.choice(needs_argument[attack])
@@ -236,7 +228,6 @@ def randomize_enemy_attacks(world: "EarthBoundWorld", rom: "LocalRom") -> None:
236228
max_calls = world.random.randint(1, 4)
237229
else:
238230
argument = 0
239-
print(f"Attack {attack} gets arg {hex(argument)}")
240231

241232
rom.write_bytes(world.enemies[enemy].address + (0x46 + (i * 2)), struct.pack("H", attack_id))
242233
rom.write_bytes(world.enemies[enemy].address + (0x50 + (i)), bytearray([argument]))

0 commit comments

Comments
 (0)