mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-30 12:58:10 -05:00
decomp few more trap funcs and fix some names
This commit is contained in:
@@ -22,7 +22,8 @@ enum TrapID
|
||||
TRAP_CHESTNUT_TRAP,
|
||||
TRAP_WONDER_TILE,
|
||||
TRAP_POKEMON_TRAP,
|
||||
TRAP_SPIKE_TRAP
|
||||
TRAP_SPIKE_TRAP,
|
||||
NUM_TRAPS
|
||||
};
|
||||
|
||||
#endif // GUARD_CONSTANTS_TRAP_H
|
||||
#endif // GUARD_CONSTANTS_TRAP_H
|
||||
|
||||
@@ -187,9 +187,8 @@ typedef struct Dungeon
|
||||
u8 fill1356D[0x13570 - 0x1356D];
|
||||
/* 0x13570 */ u8 unk13570;
|
||||
u8 fill13571[0x13574 - 0x13571];
|
||||
/* 0x13574 */ u16 unk13574;
|
||||
/* 0x13576 */ u16 unk13576;
|
||||
/* 0x13578 */ u8 unk13578;
|
||||
/* 0x13574 */ Position trapPos;
|
||||
/* 0x13578 */ u8 trapID;
|
||||
/* 0x13579 */ u8 unk13579;
|
||||
u8 fill1357A[0x1357C - 0x1357A];
|
||||
/* 0x1357C */ Entity *teamPokemon[MAX_TEAM_MEMBERS];
|
||||
|
||||
@@ -4,5 +4,6 @@
|
||||
#include "structs/str_position.h"
|
||||
|
||||
bool8 CanLayTrap(Position *pos);
|
||||
bool8 LayTrap(Position *pos, u8 trapID, u8 param_3);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user