mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-26 00:32:20 -05:00
Poketch Player moved function
This commit is contained in:
parent
75da1f3a5e
commit
df0fa9bc20
|
|
@ -115,13 +115,13 @@ void PoketchSystem_NotifyAppLoaded(PoketchSystem *poketchSys);
|
|||
void PoketchSystem_NotifyAppUnloaded(PoketchSystem *poketchSys);
|
||||
void PoketchSystem_SetSaveFunction(PoketchAppSaveFunction saveFunction, void *saveData);
|
||||
UnkStruct_ov25_02254560 * ov25_02254418(void);
|
||||
void PoketchSystem_PlaySoundEffect(u32 param0);
|
||||
void PoketchSystem_PlaySoundEffect(u32 soundID);
|
||||
void ov25_02254444(u32 param0, u32 param1);
|
||||
BOOL PoketchSystem_IsTouchingDisplay(u32 *x, u32 *y);
|
||||
BOOL PoketchSystem_TappedDisplay(u32 *x, u32 *y);
|
||||
BOOL ov25_0225450C(const PoketchSystem *poketchSys);
|
||||
void ov25_02254518(const PoketchSystem *poketchSys, PoketchButtonManager * param1);
|
||||
BOOL ov25_02254534(const PoketchSystem *poketchSys);
|
||||
BOOL PoketchSystem_PlayerMoved(const PoketchSystem *poketchSys);
|
||||
BOOL PoketchSystem_PedometerUpdated(const PoketchSystem *poketchSys);
|
||||
FieldSystem * PoketchSystem_FieldSystem(const PoketchSystem *poketchSys);
|
||||
PoketchData * PoketchSystem_PoketchData(const PoketchSystem *poketchSys);
|
||||
|
|
|
|||
|
|
@ -742,7 +742,7 @@ void ov25_02254518 (const PoketchSystem *poketchSys, PoketchButtonManager *butto
|
|||
}
|
||||
}
|
||||
|
||||
BOOL ov25_02254534 (const PoketchSystem *poketchSys)
|
||||
BOOL PoketchSystem_PlayerMoved(const PoketchSystem *poketchSys)
|
||||
{
|
||||
return poketchSys->playerMoved;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ static BOOL ov34_022562F0 (UnkStruct_ov34_0225621C * param0)
|
|||
break;
|
||||
}
|
||||
|
||||
if ((ov25_02254534(param0->unk_4C) == 1) || (ov25_0225450C(param0->unk_4C))) {
|
||||
if ((PoketchSystem_PlayerMoved(param0->unk_4C) == 1) || (ov25_0225450C(param0->unk_4C))) {
|
||||
ov34_02256A0C(param0->unk_48);
|
||||
param0->unk_01 = 2;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user