summaryrefslogtreecommitdiff
path: root/vc
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2022-03-26 17:25:35 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2022-03-26 17:25:35 -0400
commitfa8f30723e16e3454adc72a0bee9b524f5636fe8 (patch)
tree5eb8d891fd9a51fd45621065631249ba15cda444 /vc
parentfa8e3334b3c3eab38213e6c4c08110f9a7c23788 (diff)
Port make_patch.c features needed for pokered
Diffstat (limited to 'vc')
-rw-r--r--vc/pokegold.patch.template6
-rw-r--r--vc/pokesilver.patch.template6
2 files changed, 6 insertions, 6 deletions
diff --git a/vc/pokegold.patch.template b/vc/pokegold.patch.template
index 9b3ae86a..51f48f41 100644
--- a/vc/pokegold.patch.template
+++ b/vc/pokegold.patch.template
@@ -577,7 +577,7 @@ Fixcode={patch}
Mode = 6
Type = 0
Address = {hex @}
-MemAddress={hex hJoyPressed}
+MemAddress={hex~ hJoyPressed}
Fixcode={db NO_INPUT}
ConditionType = 0
ConditionValueA = {dws_ wWindowStackPointer wWindowStackPointer+1 wMenuJoypad wMenuSelection wMenuSelection wMenuCursorY hJoyPressed hJoyPressed hJoyPressed hJoyPressed}
@@ -592,7 +592,7 @@ ConditionValueC = {dws_ 0xb7 0xb9 A_BUTTON 0x
Mode = 6
Type = 0
Address = {hex @}
-MemAddress={hex hJoyPressed}
+MemAddress={hex~ hJoyPressed}
Fixcode={db NO_INPUT}
ConditionType = 0
ConditionValueA = {dws_ wWindowStackPointer wWindowStackPointer+1 wMenuJoypad wMenuSelection wMenuCursorY wWarpNumber wMapGroup wMapNumber hJoyPressed hJoyPressed hJoyPressed hJoyPressed}
@@ -633,7 +633,7 @@ Fixcode={patch}
Mode = 6
Type = 0
Address = {hex @}
-MemAddress={hex hJoyPressed}
+MemAddress={hex~ hJoyPressed}
Fixcode={db NO_INPUT}
ConditionType = 0
ConditionValueA = {dws_ wWindowStackPointer wWindowStackPointer+1 wMenuJoypad wMenuSelection wDexArrowCursorPosIndex hJoyPressed hJoyPressed hJoyPressed hJoyPressed}
diff --git a/vc/pokesilver.patch.template b/vc/pokesilver.patch.template
index 46936d0e..d6cd6754 100644
--- a/vc/pokesilver.patch.template
+++ b/vc/pokesilver.patch.template
@@ -585,7 +585,7 @@ Fixcode={patch}
Mode = 6
Type = 0
Address = {hex @}
-MemAddress={hex hJoyPressed}
+MemAddress={hex~ hJoyPressed}
Fixcode={db NO_INPUT}
ConditionType = 0
ConditionValueA = {dws_ wWindowStackPointer wWindowStackPointer+1 wMenuJoypad wMenuSelection wMenuSelection wMenuCursorY hJoyPressed hJoyPressed hJoyPressed hJoyPressed}
@@ -600,7 +600,7 @@ ConditionValueC = {dws_ 0xb7 0xb9 A_BUTTON 0x
Mode = 6
Type = 0
Address = {hex @}
-MemAddress={hex hJoyPressed}
+MemAddress={hex~ hJoyPressed}
Fixcode={db NO_INPUT}
ConditionType = 0
ConditionValueA = {dws_ wWindowStackPointer wWindowStackPointer+1 wMenuJoypad wMenuSelection wMenuCursorY hJoyPressed hJoyPressed hJoyPressed hJoyPressed wWarpNumber wMapGroup wMapNumber}
@@ -641,7 +641,7 @@ Fixcode={patch}
Mode = 6
Type = 0
Address = {hex @}
-MemAddress={hex hJoyPressed}
+MemAddress={hex~ hJoyPressed}
Fixcode={db NO_INPUT}
ConditionType = 0
ConditionValueA = {dws_ wWindowStackPointer wWindowStackPointer+1 wMenuJoypad wMenuSelection wDexArrowCursorPosIndex hJoyPressed hJoyPressed hJoyPressed hJoyPressed}