mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-18 01:14:19 +01:00
move externs
This commit is contained in:
parent
04c8eff882
commit
7db6b48aa0
@ -12,6 +12,16 @@
|
||||
|
||||
#define SECONDS(value) ((signed) (60.0 * value + 0.5))
|
||||
|
||||
extern u8 GetSSTidalLocation(s8 *, s8 *, s16 *, s16 *); // should be in field_specials.h
|
||||
extern void warp1_set(s8 mapGroup, s8 mapNum, s8 warpId, s8 x, s8 y);
|
||||
extern bool8 sub_80D3340(u8, u8, u8);
|
||||
extern bool32 CountSSTidalStep(u16);
|
||||
extern bool8 exec_movement(u8, u8, u8, u8 *);
|
||||
extern void copy_saved_warp2_bank_and_enter_x_to_warp1(u8 unused);
|
||||
extern void sp13E_warp_to_last_warp(void);
|
||||
extern void saved_warp2_set(int unused, s8 mapGroup, s8 mapNum, s8 warpId);
|
||||
extern void sub_80AF8B8(void);
|
||||
|
||||
// porthole states
|
||||
enum
|
||||
{
|
||||
@ -243,9 +253,6 @@ void EndTruckSequence(u8 taskId)
|
||||
}
|
||||
}
|
||||
|
||||
extern u8 GetSSTidalLocation(s8 *, s8 *, s16 *, s16 *); // should be in field_specials.h
|
||||
extern void warp1_set(s8 mapGroup, s8 mapNum, s8 warpId, s8 x, s8 y);
|
||||
|
||||
bool8 sub_80FB59C(void)
|
||||
{
|
||||
s8 mapGroup, mapNum;
|
||||
@ -262,12 +269,6 @@ bool8 sub_80FB59C(void)
|
||||
}
|
||||
}
|
||||
|
||||
extern bool8 sub_80D3340(u8, u8, u8);
|
||||
extern bool32 CountSSTidalStep(u16);
|
||||
extern bool8 exec_movement(u8, u8, u8, u8 *);
|
||||
extern void copy_saved_warp2_bank_and_enter_x_to_warp1(u8 unused);
|
||||
extern void sp13E_warp_to_last_warp(void);
|
||||
|
||||
void Task_HandlePorthole(u8 taskId)
|
||||
{
|
||||
s16 *data = gTasks[taskId].data;
|
||||
@ -351,9 +352,6 @@ void sub_80FB768(void)
|
||||
ScriptContext2_Enable();
|
||||
}
|
||||
|
||||
extern void saved_warp2_set(int unused, s8 mapGroup, s8 mapNum, s8 warpId);
|
||||
extern void sub_80AF8B8(void);
|
||||
|
||||
void sub_80FB7A4(void)
|
||||
{
|
||||
FlagSet(SYS_CRUISE_MODE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user