From c9c42fb3319151221f317b3cbc255f6d117af5b9 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 18 Aug 2017 17:36:59 -0400 Subject: Removed dependency on ROM-internal arrays I looked at the base stats array and determined that, especially if I limited it to just the data I needed, that it wouldn't be too bad a thing to just include it and the other two arrays I need in my multiboot image rather than reference the ones already located in the game ROM. This way, we get back compatibility with all previously-compatible ROMs, and not just ones that I have dumped. New issue: Deoxys's base stats are actually different per-game, though, so a special case will have to be written for that. --- gba/source/dexorder.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gba/source/dexorder.h (limited to 'gba/source/dexorder.h') diff --git a/gba/source/dexorder.h b/gba/source/dexorder.h new file mode 100644 index 0000000..21cf4b1 --- /dev/null +++ b/gba/source/dexorder.h @@ -0,0 +1,15 @@ +/* + * Copyright (C) 2017 Scott Norton + * Copyright (C) 2017 hatkirby + * + * This software may be modified and distributed under the terms + * of the MIT license. See the LICENSE file for details. + */ +#ifndef DEXORDER_H +#define DEXORDER_H + +#include + +extern const u16 gSpeciesToNationalPokedexNum[]; + +#endif -- cgit 1.4.1