From 6437a6cd49404b5e2e83bf940d8ac2284eb1e6bf Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 23 Sep 2017 10:21:57 -0400 Subject: Fixed shininess determination MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Shininess is determined with the ID of the OT, not the game the Pokémon is currently in. --- gba/source/main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'gba/source/main.c') diff --git a/gba/source/main.c b/gba/source/main.c index 0934e91..e5521b2 100644 --- a/gba/source/main.c +++ b/gba/source/main.c @@ -106,10 +106,6 @@ int main(void) (trainerId[1] << 8) | (trainerId[0]); - u16 secretIdNum = - (trainerId[3] << 8) - | (trainerId[2]); - sendU32(trainerIdNum); waitForAck(); @@ -208,7 +204,7 @@ int main(void) struct PokemonIntermediate pki; - PokemonIntermediateInit(&pki, bpkm, trainerIdNum, secretIdNum); + PokemonIntermediateInit(&pki, bpkm); PokemonIntermediateStream(&pki); } } -- cgit 1.4.1