mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Pokemon Emerald: Move magma grunt (#3836)
This commit is contained in:
@@ -114,6 +114,14 @@ class PokemonEmeraldProcedurePatch(APProcedurePatch, APTokenMixin):
|
|||||||
|
|
||||||
|
|
||||||
def write_tokens(world: "PokemonEmeraldWorld", patch: PokemonEmeraldProcedurePatch) -> None:
|
def write_tokens(world: "PokemonEmeraldWorld", patch: PokemonEmeraldProcedurePatch) -> None:
|
||||||
|
# TODO: Remove when the base patch is updated to include this change
|
||||||
|
# Moves an NPC to avoid overlapping people during trainersanity
|
||||||
|
patch.write_token(
|
||||||
|
APTokenTypes.WRITE,
|
||||||
|
0x53A298 + (0x18 * 7) + 4, # Space Center 1F event address + 8th event + 4-byte offset for x coord
|
||||||
|
struct.pack("<H", 11)
|
||||||
|
)
|
||||||
|
|
||||||
# Set free fly location
|
# Set free fly location
|
||||||
if world.options.free_fly_location:
|
if world.options.free_fly_location:
|
||||||
patch.write_token(
|
patch.write_token(
|
||||||
|
Reference in New Issue
Block a user