From 7286e63fff61ca6150ed3a737abb11b45cbe39e0 Mon Sep 17 00:00:00 2001 From: pw-rey <71990106+pw-rey@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:36:07 +0200 Subject: [PATCH 1/2] Update the Teleport and Escape Rod behavior --- Data/CommonEvents.rxdata.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/Data/CommonEvents.rxdata.yml b/Data/CommonEvents.rxdata.yml index 121abb6a..f7173201 100644 --- a/Data/CommonEvents.rxdata.yml +++ b/Data/CommonEvents.rxdata.yml @@ -3030,6 +3030,21 @@ indent: 1 parameters: - Yuki::FollowMe.smart_enable + - !ruby/object:RPG::EventCommand + code: 108 + indent: 1 + parameters: + - Used to reset the state of the player. Very useful to + - !ruby/object:RPG::EventCommand + code: 408 + indent: 1 + parameters: + - disable the bridge state notably. + - !ruby/object:RPG::EventCommand + code: 355 + indent: 1 + parameters: + - "$game_player.fly_reset_attributes" - !ruby/object:RPG::EventCommand code: 201 indent: 1 @@ -7671,6 +7686,21 @@ - 19 - 19 - 0 + - !ruby/object:RPG::EventCommand + code: 108 + indent: 2 + parameters: + - Used to reset the state of the player. Very useful to + - !ruby/object:RPG::EventCommand + code: 408 + indent: 2 + parameters: + - disable the bridge state notably. + - !ruby/object:RPG::EventCommand + code: 355 + indent: 2 + parameters: + - "$game_player.fly_reset_attributes" - !ruby/object:RPG::EventCommand code: 201 indent: 2 From 29f561032a8cc1055f990012c1f8d9b7b9e0ae94 Mon Sep 17 00:00:00 2001 From: pw-rey <71990106+pw-rey@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:55:44 +0200 Subject: [PATCH 2/2] Add override of Dig return variables due to PSDK wrongful targeting --- Data/Map019.rxdata.yml | 94 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) diff --git a/Data/Map019.rxdata.yml b/Data/Map019.rxdata.yml index bd5b09d1..e174791c 100644 --- a/Data/Map019.rxdata.yml +++ b/Data/Map019.rxdata.yml @@ -484,6 +484,53 @@ events: indent: 0 parameters: - 5 + - !ruby/object:RPG::EventCommand + code: 108 + indent: 0 + parameters: + - PSDK is able to infer the Dig/Escape Rode/Teleport + - !ruby/object:RPG::EventCommand + code: 408 + indent: 0 + parameters: + - back coordinates right, but in some cases we want to + - !ruby/object:RPG::EventCommand + code: 408 + indent: 0 + parameters: + - overwrite them to be at a specific place. That's what we + - !ruby/object:RPG::EventCommand + code: 408 + indent: 0 + parameters: + - do here. + - !ruby/object:RPG::EventCommand + code: 122 + indent: 0 + parameters: + - 23 + - 23 + - 0 + - 0 + - 19 + - !ruby/object:RPG::EventCommand + code: 122 + indent: 0 + parameters: + - 24 + - 24 + - 0 + - 0 + - 31 + - !ruby/object:RPG::EventCommand + code: 122 + indent: 0 + parameters: + - 25 + - 25 + - 0 + - 0 + - 32 - !ruby/object:RPG::EventCommand code: 223 indent: 0 @@ -4398,6 +4445,53 @@ events: indent: 0 parameters: - 5 + - !ruby/object:RPG::EventCommand + code: 108 + indent: 0 + parameters: + - PSDK is able to infer the Dig/Escape Rode/Teleport + - !ruby/object:RPG::EventCommand + code: 408 + indent: 0 + parameters: + - back coordinates right, but in some cases we want to + - !ruby/object:RPG::EventCommand + code: 408 + indent: 0 + parameters: + - overwrite them to be at a specific place. That's what we + - !ruby/object:RPG::EventCommand + code: 408 + indent: 0 + parameters: + - do here. + - !ruby/object:RPG::EventCommand + code: 122 + indent: 0 + parameters: + - 23 + - 23 + - 0 + - 0 + - 19 + - !ruby/object:RPG::EventCommand + code: 122 + indent: 0 + parameters: + - 24 + - 24 + - 0 + - 0 + - 32 + - !ruby/object:RPG::EventCommand + code: 122 + indent: 0 + parameters: + - 25 + - 25 + - 0 + - 0 + - 32 - !ruby/object:RPG::EventCommand code: 223 indent: 0