diff options
author | shinny456 <shinny456@users.noreply.github.com> | 2019-01-19 10:44:58 -0500 |
---|---|---|
committer | shinny456 <shinny456@users.noreply.github.com> | 2019-01-19 10:44:58 -0500 |
commit | 1b30da21d9a0f1264ba3649e725ac1a62eca3e3a (patch) | |
tree | 3105ab0101ffd0768589279130163a971c8365ca /src/apprentice.c | |
parent | 8a5fce7837b7314adb9bf6996ef06c009e853c29 (diff) | |
parent | 6857b73ee348b16ecbd11d3dd12de022c08af3a5 (diff) |
merge trainer hill changes
Diffstat (limited to 'src/apprentice.c')
-rw-r--r-- | src/apprentice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apprentice.c b/src/apprentice.c index 5d636d05d..9cf8cd4b4 100644 --- a/src/apprentice.c +++ b/src/apprentice.c @@ -1080,7 +1080,7 @@ void ResetApprenticeStruct(struct Apprentice *apprentice) u8 i; for (i = 0; i < 6; i++) - apprentice->easyChatWords[i] |= 0xFFFF; + apprentice->easyChatWords[i] = 0xFFFF; apprentice->playerName[0] = EOS; apprentice->id = 16; @@ -1094,7 +1094,7 @@ void ResetAllApprenticeData(void) for (i = 0; i < 4; i++) { for (j = 0; j < 6; j++) - gSaveBlock2Ptr->apprentices[i].easyChatWords[j] |= 0xFFFF; + gSaveBlock2Ptr->apprentices[i].easyChatWords[j] = 0xFFFF; gSaveBlock2Ptr->apprentices[i].id = 16; gSaveBlock2Ptr->apprentices[i].playerName[0] = EOS; gSaveBlock2Ptr->apprentices[i].lvlMode = 0; |