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/exptables.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gba/source/exptables.h (limited to 'gba/source/exptables.h') diff --git a/gba/source/exptables.h b/gba/source/exptables.h new file mode 100644 index 0000000..8ab7eb7 --- /dev/null +++ b/gba/source/exptables.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 EXPTABLES_H +#define EXPTABLES_H + +#include + +extern const u32 gExperienceTables[][101]; + +#endif -- cgit 1.4.1