diff options
author | Cheng Hann Gan <chenghanngan.us@gmail.com> | 2021-09-28 12:50:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-28 09:50:36 -0700 |
commit | 12aec1bb718eb7b04d4a5506030154b0cce454a0 (patch) | |
tree | cc460ac2d94ec83522565fd11127df0fa172d5a4 /src | |
parent | 0d3b11e81a215875fc533db17895613c47a4da73 (diff) |
Created species/item data JSONs (#57)
* Created species data JSON
* Added item data JSON
* Removed address field from JSONs
-Moved constants/item.h import to item.h.
* Used default values for some JSON fields
-Use item ID macros for item evolutions.
Diffstat (limited to 'src')
-rw-r--r-- | src/friend_area.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/friend_area.c b/src/friend_area.c index 034b783..0e74848 100644 --- a/src/friend_area.c +++ b/src/friend_area.c @@ -19,7 +19,7 @@ extern const char gUnknown_81098AC; extern void ExpandPlaceholdersBuffer(u8 *buffer, const char *r2, ...); extern void sub_8090FEC(u32, u32 *r1, u32); -const struct FriendAreaSettings gFriendAreaSettings[NUM_FRIEND_AREAS] = +const struct FriendAreaSettings gFriendAreaSettings[NUM_FRIEND_AREAS] = { [NONE] = { .num_pokemon = 0, @@ -211,7 +211,7 @@ const struct FriendAreaSettings gFriendAreaSettings[NUM_FRIEND_AREAS] = .unlock_condition = UNLOCK_SHOP_STORY, .price = 800 }, - [DECRPEPIT_LAB] = { + [DECREPIT_LAB] = { .num_pokemon = 7, .unlock_condition = UNLOCK_SHOP_STORY, .price = 1000 @@ -462,7 +462,7 @@ NAKED void sub_8092404(u8 r0, u16 *r1, bool8 r2, bool8 r3) "\t.align 2, 0\n" "_08092494: .4byte gRecruitedPokemonRef\n" "_08092498: .4byte 0x0000ffff"); -} +} #endif #ifdef NONMATCHING @@ -507,7 +507,7 @@ void sub_809249C(u8 index, u8 clear) } } #else -NAKED void sub_809249C(u8 index, u8 clear) +NAKED void sub_809249C(u8 index, u8 clear) { asm_unified("\tpush {r4-r7,lr}\n" "\tlsls r0, 24\n" |