Files
Grinch-AP/worlds/ladx/LADXR/locations/hookshot.py
zig-for 81a239325d Links Awakening: Implement New Game (#1334)
Adds Link's Awakening: DX. Fully imports and forks LADXR, with permission - https://github.com/daid/LADXR
2023-03-20 17:26:03 +01:00

19 lines
553 B
Python

from .droppedKey import DroppedKey
"""
The hookshot is dropped by the master stalfos.
The master stalfos drops a "key" with, and modifies a bunch of properties:
ld a, $30 ; $7EE1: $3E $30
call SpawnNewEntity_trampoline ; $7EE3: $CD $86 $3B
And then the dropped key handles the rest with room number specific code.
As we patched the dropped key, this requires no extra handling.
"""
class HookshotDrop(DroppedKey):
def __init__(self):
super().__init__(0x180)