mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Adds Link's Awakening: DX. Fully imports and forks LADXR, with permission - https://github.com/daid/LADXR
19 lines
553 B
Python
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)
|