mirror of
https://github.com/pret/pmd-red.git
synced 2024-11-23 21:19:53 +00:00
Renamed move boolean functions
This commit is contained in:
parent
ddb9c518ec
commit
64651ef818
@ -2451,7 +2451,7 @@ _08053734:
|
||||
ldrb r1, [r1]
|
||||
strb r1, [r0]
|
||||
ldr r0, [sp, 0x18]
|
||||
bl GetMoveTargetsUser
|
||||
bl MoveTargetsUser
|
||||
lsls r0, 24
|
||||
cmp r0, 0
|
||||
beq _080537B4
|
||||
@ -2856,7 +2856,7 @@ _08053A86:
|
||||
cmp r0, 0x5
|
||||
bne _08053AE8
|
||||
ldr r0, [sp, 0x18]
|
||||
bl GetMoveAffectedByMagicCoat
|
||||
bl MoveAffectedByMagicCoat
|
||||
lsls r0, 24
|
||||
cmp r0, 0
|
||||
beq _08053B5C
|
||||
@ -7222,7 +7222,7 @@ _08056156:
|
||||
cmp r0, 0x1
|
||||
bne _080561A0
|
||||
ldrh r0, [r7, 0x2]
|
||||
bl GetMoveAffectedByMuzzled
|
||||
bl MoveAffectedByMuzzled
|
||||
lsls r0, 24
|
||||
cmp r0, 0
|
||||
beq _080561A0
|
||||
|
@ -23,9 +23,9 @@ bool8 MoveDealsDirectDamage(struct PokemonMove *move);
|
||||
u32 GetMoveRangeType(struct PokemonMove *move);
|
||||
void sub_8092C84(u8 *buffer, u16 moveID);
|
||||
u8 *GetMoveUseText(u16 moveID);
|
||||
bool8 GetMoveAffectedByMagicCoat(u16 moveID);
|
||||
bool8 GetMoveTargetsUser(u16 moveID);
|
||||
bool8 GetMoveAffectedByMuzzled(u16 moveID);
|
||||
bool8 MoveAffectedByMagicCoat(u16 moveID);
|
||||
bool8 MoveTargetsUser(u16 moveID);
|
||||
bool8 MoveAffectedByMuzzled(u16 moveID);
|
||||
bool8 IsBlockedBySoundproof(struct PokemonMove *move);
|
||||
bool8 DoesMoveCharge(u16 move);
|
||||
|
||||
|
@ -297,17 +297,17 @@ u8 *GetMoveUseText(u16 moveID)
|
||||
return gMovesData[moveID].useText;
|
||||
}
|
||||
|
||||
bool8 GetMoveAffectedByMagicCoat(u16 moveID)
|
||||
bool8 MoveAffectedByMagicCoat(u16 moveID)
|
||||
{
|
||||
return gMovesData[moveID].affectedByMagicCoat;
|
||||
}
|
||||
|
||||
bool8 GetMoveTargetsUser(u16 moveID)
|
||||
bool8 MoveTargetsUser(u16 moveID)
|
||||
{
|
||||
return gMovesData[moveID].targetsUser;
|
||||
}
|
||||
|
||||
bool8 GetMoveAffectedByMuzzled(u16 moveID)
|
||||
bool8 MoveAffectedByMuzzled(u16 moveID)
|
||||
{
|
||||
return gMovesData[moveID].affectedByMuzzled;
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ const s16 gTypeEffectivenessChart[NUM_TYPES][NUM_TYPES] = {
|
||||
{NEUTRAL, NEUTRAL, RESIST, RESIST, SUPER, NEUTRAL, RESIST, NEUTRAL, NEUTRAL, SUPER, SUPER, NEUTRAL, NEUTRAL, NEUTRAL, NEUTRAL, SUPER, NEUTRAL, RESIST},
|
||||
{NEUTRAL, SUPER, NEUTRAL, NEUTRAL, NEUTRAL, NEUTRAL, SUPER, NEUTRAL, RESIST, NEUTRAL, RESIST, RESIST, RESIST, SUPER, NEUTRAL, NEUTRAL, SUPER, SUPER},
|
||||
{NEUTRAL, NEUTRAL, NEUTRAL, NEUTRAL, SUPER, NEUTRAL, NEUTRAL, NEUTRAL, RESIST, RESIST, NEUTRAL, NEUTRAL, NEUTRAL, RESIST, RESIST, NEUTRAL, NEUTRAL, IMMUNE},
|
||||
{NEUTRAL, NEUTRAL, SUPER, NEUTRAL, RESIST, SUPER, NEUTRAL, NEUTRAL, SUPER, NEUTRAL, IMMUNE, NEUTRAL, RESIST, SUPER, NEUTRAL, NEUTRAL, NEUTRAL, SUPER},
|
||||
{NEUTRAL, NEUTRAL, SUPER, NEUTRAL, RESIST, SUPER, NEUTRAL, NEUTRAL, SUPER, NEUTRAL, IMMUNE, NEUTRAL, RESIST, SUPER, NEUTRAL, NEUTRAL, NEUTRAL, SUPER},
|
||||
{NEUTRAL, NEUTRAL, NEUTRAL, NEUTRAL, SUPER, RESIST, NEUTRAL, SUPER, NEUTRAL, NEUTRAL, NEUTRAL, NEUTRAL, SUPER, RESIST, NEUTRAL, NEUTRAL, NEUTRAL, RESIST},
|
||||
{NEUTRAL, NEUTRAL, NEUTRAL, NEUTRAL, NEUTRAL, NEUTRAL, NEUTRAL, SUPER, SUPER, NEUTRAL, NEUTRAL, RESIST, NEUTRAL, NEUTRAL, NEUTRAL, NEUTRAL, IMMUNE, RESIST},
|
||||
{NEUTRAL, NEUTRAL, RESIST, NEUTRAL, SUPER, NEUTRAL, NEUTRAL, RESIST, RESIST, NEUTRAL, RESIST, SUPER, NEUTRAL, NEUTRAL, RESIST, NEUTRAL, SUPER, RESIST},
|
||||
|
Loading…
Reference in New Issue
Block a user