Skip to content

Commit

Permalink
Merge pull request pret#1 from pret/master
Browse files Browse the repository at this point in the history
Update fork
  • Loading branch information
lioniac committed Mar 15, 2021
2 parents e1f76f1 + 5075067 commit 045daa7
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@
#ifndef BUGFIX
#define BUGFIX
#endif // BUGFIX
#ifndef NONMATCHING
#define NONMATCHING
#endif // NONMATCHING
#endif // MODERN

#endif // GUARD_CONFIG_H
4 changes: 4 additions & 0 deletions src/berry.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = _("そとの かわの ぶぶんも なかみも すべてが");
Expand Down
4 changes: 4 additions & 0 deletions src/credits.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 4 additions & 0 deletions src/event_object_movement.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 4 additions & 0 deletions src/help_system.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
#include "event_data.h"
#include "constants/songs.h"

#if !defined(NONMATCHING) && MODERN
#define static
#endif

extern u8 gGlyphInfo[];

bool8 gHelpSystemEnabled;
Expand Down

0 comments on commit 045daa7

Please sign in to comment.