Merge pull request #440 from garakmon/fldeff
Decompile / port fldeff_80F9BCC
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
#define VAR_0x4051 0x4051
|
||||
#define VAR_0x4052 0x4052
|
||||
#define VAR_0x4053 0x4053
|
||||
#define VAR_0x4054 0x4054
|
||||
#define VAR_CURRENT_SECRET_BASE 0x4054
|
||||
#define VAR_0x4055 0x4055
|
||||
#define VAR_0x4056 0x4056
|
||||
#define VAR_0x4057 0x4057
|
||||
|
||||
@@ -58,5 +58,7 @@ u8 GetJumpSpecialMovementAction(u32);
|
||||
bool8 PartyHasMonWithSurf(void);
|
||||
bool8 IsPlayerFacingSurfableFishableWater(void);
|
||||
bool8 IsPlayerSurfingNorth(void);
|
||||
void sub_808C228(u8 direction);
|
||||
u8 sub_808BCD0(void);
|
||||
|
||||
#endif // GUARD_FIELD_PLAYER_AVATAR_H
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
#ifndef GUARD_FLDEFF_80F9BCC_H
|
||||
#define GUARD_FLDEFF_80F9BCC_H
|
||||
|
||||
// Exported type declarations
|
||||
|
||||
// Exported RAM declarations
|
||||
|
||||
// Exported ROM declarations
|
||||
|
||||
void sub_80FA5E4(s16 id, s16 x, s16 y);
|
||||
void sub_80FA794(s16 x, s16 y);
|
||||
void CreateRecordMixingSprite(void);
|
||||
void DestroyRecordMixingSprite(void);
|
||||
void FldeffPoison_Start(void);
|
||||
void sub_80FA970(s16);
|
||||
void sub_80FA9D0(void);
|
||||
bool8 sub_80FADE4(u16, u8);
|
||||
|
||||
#endif //GUARD_FLDEFF_80F9BCC_H
|
||||
24
include/fldeff_misc.h
Normal file
24
include/fldeff_misc.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef GUARD_FLDEFF_MISC_H
|
||||
#define GUARD_FLDEFF_MISC_H
|
||||
|
||||
void PopSecretBaseBalloon(s16 id, s16 x, s16 y);
|
||||
void ShatterSecretBaseBreakableDoor(s16 x, s16 y);
|
||||
u8 CreateRecordMixingSprite(void);
|
||||
void DestroyRecordMixingSprite(void);
|
||||
void FldEffPoison_Start(void);
|
||||
void PlaySecretBaseMusicNoteMatSound(s16 metatileId);
|
||||
void DoSecretBaseGlitterMatSparkle(void);
|
||||
bool8 sub_80FADE4(u16, u8);
|
||||
|
||||
extern struct MapPosition gPlayerFacingPosition;
|
||||
extern const struct SpriteTemplate *const gFieldEffectObjectTemplatePointers[];
|
||||
|
||||
extern u8 EventScript_275A86[];
|
||||
extern u8 EventScript_275ADF[];
|
||||
extern u8 EventScript_275B38[];
|
||||
|
||||
extern const struct OamData gEventObjectBaseOam_32x8;
|
||||
|
||||
extern const u16 gTilesetPalettes_SecretBase[][16];
|
||||
|
||||
#endif //GUARD_FLDEFF_MISC_H
|
||||
@@ -23,4 +23,12 @@ void sub_80EB9E0(void);
|
||||
void sub_80EBB28(void);
|
||||
void sub_80E9668(const struct MapPosition *position, const struct MapEvents *events);
|
||||
|
||||
// SetCurrentSecretBaseFromPosition
|
||||
void sub_80E9608(const struct MapPosition *position, const struct MapEvents *events);
|
||||
// SetCurrentSecretBaseVar
|
||||
void sub_80E8B6C(void);
|
||||
void sub_80E8BC8(void);
|
||||
void sub_80E8D4C(void);
|
||||
void EnableBothScriptContexts(void);
|
||||
|
||||
#endif //GUARD_SECRET_BASE_H
|
||||
|
||||
@@ -140,6 +140,8 @@ extern const u8 gText_Cancel4[];
|
||||
extern const u8 gText_IsThisTheCorrectTime[];
|
||||
extern const u8 gText_PkmnFainted3[];
|
||||
extern const u8 gText_Coins[];
|
||||
extern const u8 gText_Silver[];
|
||||
extern const u8 gText_Gold[];
|
||||
|
||||
extern const u8 gText_Var1AteTheVar2[];
|
||||
extern const u8 gText_Var1HappilyAteVar2[];
|
||||
|
||||
Reference in New Issue
Block a user