about summary refs log tree commit diff stats
path: root/gba/source/exptables.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-08-18 17:36:59 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-08-18 17:36:59 -0400
commitc9c42fb3319151221f317b3cbc255f6d117af5b9 (patch)
tree74b754f9343c0f9fb6154ea200408afc088a626d /gba/source/exptables.h
parent8ad189bc5a88f43e688fc980db30169f0adac0fb (diff)
downloadgen3uploader-c9c42fb3319151221f317b3cbc255f6d117af5b9.tar.gz
gen3uploader-c9c42fb3319151221f317b3cbc255f6d117af5b9.tar.bz2
gen3uploader-c9c42fb3319151221f317b3cbc255f6d117af5b9.zip
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.
Diffstat (limited to 'gba/source/exptables.h')
-rw-r--r--gba/source/exptables.h15
1 files changed, 15 insertions, 0 deletions
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 @@
1/*
2 * Copyright (C) 2017 Scott Norton
3 * Copyright (C) 2017 hatkirby
4 *
5 * This software may be modified and distributed under the terms
6 * of the MIT license. See the LICENSE file for details.
7 */
8#ifndef EXPTABLES_H
9#define EXPTABLES_H
10
11#include <gba.h>
12
13extern const u32 gExperienceTables[][101];
14
15#endif