mirror of
https://github.com/pret/pokefirered.git
synced 2026-04-25 07:19:36 -05:00
Use global symbols for assembly on modern
This commit is contained in:
parent
4d1e074514
commit
077faeb1bd
|
|
@ -41,9 +41,6 @@
|
|||
#ifndef BUGFIX
|
||||
#define BUGFIX
|
||||
#endif // BUGFIX
|
||||
#ifndef NONMATCHING
|
||||
#define NONMATCHING
|
||||
#endif // NONMATCHING
|
||||
#endif // MODERN
|
||||
|
||||
#endif // GUARD_CONFIG_H
|
||||
|
|
|
|||
|
|
@ -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[] = _("そとの かわの ぶぶんも なかみも すべてが");
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -9,6 +9,10 @@
|
|||
#include "event_data.h"
|
||||
#include "constants/songs.h"
|
||||
|
||||
#if !defined(NONMATCHING) && MODERN
|
||||
#define static
|
||||
#endif
|
||||
|
||||
extern u8 gGlyphInfo[];
|
||||
|
||||
bool8 gHelpSystemEnabled;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user