Skip to content

Commit

Permalink
Generalize custom function and add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
dyceron committed Oct 1, 2023
1 parent 923dc59 commit b85d37f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions open_samus_returns_rando/custom_pickups.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ def _get_actor(editor: PatcherEditor):
"layer": "9",
"actor": "LE_PowerUP_Morphball",
}
baby_actor = editor.resolve_actor_reference(actor_to_copy)
return baby_actor
new_actor = editor.resolve_actor_reference(actor_to_copy)
return new_actor


def _create_baby_pickup(editor: PatcherEditor):
Expand All @@ -23,6 +23,8 @@ def _create_baby_pickup(editor: PatcherEditor):
group_cc22 = scenario_10.get_actor_group("eg_SubArea_collision_camera_022")
group_cc22.names.insert(-1, "LE_Baby_Hatchling")

# TODO: Update minimap


def patch_custom_pickups(editor: PatcherEditor):
_create_baby_pickup(editor)

0 comments on commit b85d37f

Please sign in to comment.