Merge pull request #402 from GriffinRichards/nonmatch-fix

Use global symbols for assembly on modern
This commit is contained in:
PikalaxALT
2021-03-14 20:52:30 -04:00
committed by GitHub
5 changed files with 16 additions and 3 deletions
+4
View File
@@ -3,6 +3,10 @@
#include "text.h"
#include "constants/items.h"
#if !defined(NONMATCHING) && MODERN
#define static
#endif
static const u8 sBerryDescriptionPart1_Cheri[] = _("とても かわいい はなが さく.");
static const u8 sBerryDescriptionPart2_Cheri[] = _("まっかな みは とても からい.");
static const u8 sBerryDescriptionPart1_Chesto[] = _("そとの かわの ぶぶんも なかみも すべてが");
+4
View File
@@ -22,6 +22,10 @@ asm(".set TITLE_TEXT, gString_PokemonFireRed_Staff");
asm(".set TITLE_TEXT, gString_PokemonLeafGreen_Staff");
#endif
#if !defined(NONMATCHING) && MODERN
#define static
#endif
enum CreditsSceneIdx
{
CREDITSSCENE_INIT_WIN0 = 0,
+4
View File
@@ -20,6 +20,10 @@
#define NUM_FIELD_MAP_OBJECT_TEMPLATES 0x51
#if !defined(NONMATCHING) && MODERN
#define static
#endif
static void MoveCoordsInDirection(u32, s16 *, s16 *, s16, s16);
static bool8 ObjectEventExecSingleMovementAction(struct ObjectEvent *, struct Sprite *);
static u8 GetCollisionInDirection(struct ObjectEvent *, u8);
+4
View File
@@ -9,6 +9,10 @@
#include "event_data.h"
#include "constants/songs.h"
#if !defined(NONMATCHING) && MODERN
#define static
#endif
extern u8 gGlyphInfo[];
bool8 gHelpSystemEnabled;