mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-20 04:31:09 +02:00
more bugs squashed + portable mode
CLOSES #28: PC in the beginning of the game isn't interactable (The one in your house) CLOSES #34: Bug when calculating exp after one or many fainted team members. CLOSES #37: No Grass Cutting CLOSES #38: Blind TMs CLOSES #53: Portable Mode CLOSES #55: changing palletes with hot key CLOSES #62: Poison status damage issue.
This commit is contained in:
@@ -116,7 +116,8 @@ def parse_hidden_events(pokered):
|
||||
Itemfinder detects), HiddenCoins (Game Corner floor coins) and
|
||||
StartSlotMachine (slot machine seats; arg SLOTS_* marks broken ones).
|
||||
Also collects the engine text hooks that the port implements natively:
|
||||
OpenPokemonCenterPC, PrintBenchGuyText, GymStatues and the Vermilion
|
||||
OpenPokemonCenterPC / OpenRedsPC (the player's storage PC in the
|
||||
bedroom), PrintBenchGuyText, GymStatues and the Vermilion
|
||||
Gym GymTrashScript cans (arg = [wGymTrashCanIndex]). For those the
|
||||
fourth macro argument is the facing direction required to trigger the
|
||||
event, except GymTrashScript where it is the can index.
|
||||
@@ -153,7 +154,7 @@ def parse_hidden_events(pokered):
|
||||
elif arg == "SLOTS_SOMEONESKEYS":
|
||||
state = "keys"
|
||||
slots.setdefault(current, []).append({"x": x, "y": y, "state": state})
|
||||
elif func == "OpenPokemonCenterPC":
|
||||
elif func == "OpenPokemonCenterPC" or func == "OpenRedsPC":
|
||||
extras["pcTiles"].setdefault(current, []).append(
|
||||
{"x": x, "y": y, "facing": DIRS.get(arg, arg)})
|
||||
elif func == "PrintBenchGuyText":
|
||||
|
||||
Reference in New Issue
Block a user