summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-09-08 22:23:14 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2017-09-08 22:23:14 +0200
commit44dbf4dea0480b4baed0e1a688f4d1b3933405e9 (patch)
treee3261165eb053825808fd8bf29b2f076cc176341 /include
parent4d01d400a89c5d34e66f8e7bf3a01b029a7c5868 (diff)
port pokemon size record
Diffstat (limited to 'include')
-rw-r--r--include/config.h12
-rw-r--r--include/global.h1
-rw-r--r--include/pokemon_size_record.h2
-rw-r--r--include/vars.h4
4 files changed, 17 insertions, 2 deletions
diff --git a/include/config.h b/include/config.h
new file mode 100644
index 000000000..162af3143
--- /dev/null
+++ b/include/config.h
@@ -0,0 +1,12 @@
+#ifndef GUARD_CONFIG_H
+#define GUARD_CONFIG_H
+
+#define ENGLISH
+
+#ifdef ENGLISH
+#define UNITS_IMPERIAL
+#else
+#define UNITS_METRIC
+#endif
+
+#endif // GUARD_CONFIG_H
diff --git a/include/global.h b/include/global.h
index 73f58a67b..32c13d86c 100644
--- a/include/global.h
+++ b/include/global.h
@@ -2,6 +2,7 @@
#define GUARD_GLOBAL_H
#include "gba/gba.h"
+#include "config.h"
// Prevent cross-jump optimization.
#define BLOCK_CROSS_JUMP asm("");
diff --git a/include/pokemon_size_record.h b/include/pokemon_size_record.h
index 43cb505d6..f61286bd4 100644
--- a/include/pokemon_size_record.h
+++ b/include/pokemon_size_record.h
@@ -9,4 +9,6 @@ void InitLotadSizeRecord(void);
void GetLotadSizeRecordInfo(void);
void CompareLotadSize(void);
+void GiveGiftRibbonToParty(u8 index, u8 ribbonId);
+
#endif // GUARD_POKEMON_SIZE_RECORD_H
diff --git a/include/vars.h b/include/vars.h
index efbb462a4..8a779dccf 100644
--- a/include/vars.h
+++ b/include/vars.h
@@ -30,14 +30,14 @@
#define VAR_DEPT_STORE_FLOOR 0x4043
#define VAR_POKELOT_PRIZE 0x4045
#define VAR_NATIONAL_DEX 0x4046
-#define VAR_SHROOMISH_SIZE_RECORD 0x4047
+#define VAR_SEEDOT_SIZE_RECORD 0x4047
#define VAR_ASH_GATHER_COUNT 0x4048
#define VAR_BIRCH_STATE 0x4049
#define VAR_CRUISE_STEP_COUNT 0x404A
#define VAR_POKELOT_RND1 0x404B
#define VAR_POKELOT_RND2 0x404C
-#define VAR_BARBOACH_SIZE_RECORD 0x404F
+#define VAR_LOTAD_SIZE_RECORD 0x404F
#define VAR_0x4054 0x4054