Skip to content

Commit 3ee49b0

Browse files
authored
Merge pull request #747 from ThibaultLassiaz/fix/rs-jp-encounter-logging
Fix RS JP version encounter logging
2 parents f71e399 + 67f6db9 commit 3ee49b0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

modules/data/symbols/patches/language/pokeruby.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ gBattlescriptCurrInstr:
110110
J: 0x2024970
111111
GTASKS:
112112
J: 0x3004a50
113+
## The Window struct doesn't contain the language value in JP, so we read at address -2 (language struct is 0x2)
113114
gWindowTemplate_Contest_MoveDescription:
114-
J: 0x3004160
115+
J: 0x300415e
115116
gEnemyParty:
116117
J: 0x30044f0
117118
gBattleTypeFlags:

modules/data/symbols/patches/language/pokesapphire.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ gBattlescriptCurrInstr:
110110
J: 0x2024970
111111
GTASKS:
112112
J: 0x3004a50
113+
## The Window struct doesn't contain the language value in JP, so we read at address -2 (language struct is 0x2)
113114
gWindowTemplate_Contest_MoveDescription:
114-
J: 0x3004160
115+
J: 0x300415e
115116
gEnemyParty:
116117
J: 0x30044f0
117118
gBattleTypeFlags:

0 commit comments

Comments
 (0)