Ghidra 12.2 project and full dump of isaac-ng.exe v1.9.7.17, query scripts, notes indexed by entity, anm2/rooms reimplementations, and db/ (names + fields) that build.sh re-applies. Fixes awk numeric address comparison in find.sh/decompile.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
45 lines
3.7 KiB
Python
45 lines
3.7 KiB
Python
import sys; sys.path.insert(0, '../../b4tools'); from rec import upsert
|
|
def snd(names, on): return {"sounds": names, "on": on}
|
|
B = 'rebirth/bumbino/'
|
|
PUNCH = [f'{B}punch{i}.mp3' for i in (1, 2, 3, 4)]
|
|
ROCK = {"art": {"anm2": "gfx/effects/rock_explosion/rock_explosion.anm2", "animation": "Break", "scale": 1, "offset_y": 0},
|
|
"period": 3, "radius": 14, "enemy_damage": 2, "player_damage": 0.5, "friendly": False,
|
|
"wave": {"spacing": 30, "period": 3, "breaking": True}}
|
|
ROCKS = {"anm2": "gfx/projectiles/rock/rock.anm2", "animation": "Rotate0"}
|
|
swipe = {"animation": "Swipe", "rolled": False, "leap": 6, "lunge_from": "Shoot", "retention": 0.75,
|
|
"hitbox": {"null": "Hitbox", "size": 20, "damage": 1, "push": 10}, "sounds": [snd(PUNCH, "Shoot")]}
|
|
attacks = [
|
|
{"animation": "ButtBomb", "period": 1, "one_in": 40, "sight": True, "range": 300, "release": "Shoot",
|
|
"gas": {"radius": 85, "damage": 0, "frames": 25, "scale": 1, "push": 6,
|
|
"look": {"anm2": "gfx/effects/fart/fart.anm2", "animation": "Explode"}},
|
|
"bombs": 1, "bomb_at": "player", "sounds": [snd(["fart.mp3"], "Shoot"), snd([f'{B}hitting_wall.mp3'], "Sound")], "cooldown": 20},
|
|
dict(swipe, rolled=True, period=1, one_in=4, line={"axis": "row", "within": 40}, range=200, next=2),
|
|
dict(swipe, next=3),
|
|
{"animation": "GroundSlam", "rolled": False, "release": "Shoot",
|
|
"effects": [{"effect": "bolts", "directions": "diagonal", "offset": 20, "bolt": ROCK}],
|
|
"shots": [{"shot": "eight", "speed": 12, "scale": 1.25, "look": ROCKS}],
|
|
"gas": {"radius": 100, "damage": 0, "frames": 2, "scale": 1, "push": 3, "hidden": True},
|
|
"sounds": [snd([f'{B}slam_fists.mp3'], "Sound"), snd(["hellboss_groundpound_0.mp3", "hellboss_groundpound_1.mp3"], "Shoot")],
|
|
"cooldown": 30, "cooldown_random": [60, 1]},
|
|
{"animation": "DownCharge", "period": 1, "one_in": 6, "line": {"axis": "column", "within": 40},
|
|
"directional_poses": ["DownCharge", "DownCharge", "UpCharge", "DownCharge"], "charge_speed": 10, "on_wall": "end",
|
|
"repeat": {"limit": 60}, "retention": 1, "sounds": [snd(["rebirth/fat_wiggle.mp3"], "Sound"), snd([f'{B}ram_attack.mp3'], "Shoot")],
|
|
"next": 5},
|
|
{"animation": "WallImpact", "rolled": False, "release": "Start",
|
|
"shots": [{"shot": "boss_volley", "count": 8, "spread": 1, "look": ROCKS}],
|
|
"gas": {"radius": 150, "damage": 0, "frames": 2, "scale": 1, "push": 3, "hidden": True},
|
|
"sounds": [snd([f'{B}hitting_wall.mp3', f'{B}hitting_wall_2.mp3', f'{B}hitting_wall_4.mp3'], "Start")], "next": 6},
|
|
{"animation": "Dizzy", "rolled": False,
|
|
"rain": {"duration": 50, "period": 2, "center": [320, 280], "radius_random": 300,
|
|
"bolt": {"art": {"anm2": "gfx/effects/rock_explosion/rock_explosion.anm2", "animation": "Break", "scale": 1, "offset_y": 0},
|
|
"period": 2, "radius": 16, "enemy_damage": 0, "player_damage": 0.5, "friendly": False}},
|
|
"sounds": [snd([f'{B}getting_dizzy_1.mp3', f'{B}getting_dizzy_2.mp3', f'{B}getting_dizzy_3.mp3'], "Start")], "next": 7},
|
|
{"animation": "ShakeOff", "rolled": False,
|
|
"sounds": [snd([f'{B}snapping_out_of_it_1.mp3', f'{B}snapping_out_of_it_2.mp3', f'{B}snapping_out_of_it_3.mp3'], "Start")]},
|
|
]
|
|
upsert({"key": "bumbino", "name": "Bumbino", "flash_id": 91600000, "hp": 385, "mass": 40, "radius": 30, "contact_damage": 1,
|
|
"gibs": {"large": True},
|
|
"behavior": {"kind": "scripted", "move": "chase", "speed": 0.8, "retention": 0.8, "idle_pose": "Walk",
|
|
"spawn_clip": {"animation": "Idle"}, "attacks": attacks},
|
|
"death": {"animation": "Death"}, "death_burst": {"boss_sounds": [f"{B}death_sound.mp3"]}, "art": "gfx/bosses/bumbino/bumbino.anm2"})
|