mirror of
https://github.com/pret/pmd-sky.git
synced 2026-04-26 16:37:17 -05:00
wrong field index
This commit is contained in:
parent
af52c034e1
commit
45af4247e7
|
|
@ -9,11 +9,7 @@ void ov29_02344E88(s16 *param_1);
|
||||||
void TrySpawnDoughSeedPoke(void)
|
void TrySpawnDoughSeedPoke(void)
|
||||||
{
|
{
|
||||||
s16 arr[2];
|
s16 arr[2];
|
||||||
#ifdef JAPAN
|
if (!DUNGEON_PTR[0]->gen_info.dough_seed_extra_poke_flag) {
|
||||||
if (DUNGEON_PTR[0]->traps[24].id == TRAP_NULL_TRAP) {
|
|
||||||
#else
|
|
||||||
if (DUNGEON_PTR[0]->traps[65].id == TRAP_NULL_TRAP) {
|
|
||||||
#endif
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!IsFullFloorFixedRoom()) {
|
if (!IsFullFloorFixedRoom()) {
|
||||||
|
|
@ -22,11 +18,7 @@ void TrySpawnDoughSeedPoke(void)
|
||||||
arr[1] = ov29_02352B5C[1];
|
arr[1] = ov29_02352B5C[1];
|
||||||
ov29_02344E88(arr);
|
ov29_02344E88(arr);
|
||||||
}
|
}
|
||||||
#ifdef JAPAN
|
DUNGEON_PTR[0]->gen_info.dough_seed_extra_poke_flag = FALSE;
|
||||||
DUNGEON_PTR[0]->traps[24].id = TRAP_NULL_TRAP;
|
|
||||||
#else
|
|
||||||
DUNGEON_PTR[0]->traps[65].id = TRAP_NULL_TRAP;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user