Merge pull request #122 from Lorenzooone/fix_solidified_target
Fix solidified/cannot move issue
This commit is contained in:
commit
b7c9928050
|
@ -25,7 +25,7 @@ void printTargetOfAttack(short a, short target)
|
||||||
pointer2 += 0x26;
|
pointer2 += 0x26;
|
||||||
byte val = *(pointer2 + target);
|
byte val = *(pointer2 + target);
|
||||||
unsigned short ailmentTile = ailmentTileSetup((byte*)(0x2020CCF + (val * 0x94)), 0);
|
unsigned short ailmentTile = ailmentTileSetup((byte*)(0x2020CCF + (val * 0x94)), 0);
|
||||||
if(ailmentTile >= 1)
|
if(ailmentTile > 1)
|
||||||
{
|
{
|
||||||
map_tile(ailmentTile, window->window_x + 0x13, window->window_y);
|
map_tile(ailmentTile, window->window_x + 0x13, window->window_y);
|
||||||
map_tile(ailmentTile + 0x20, window->window_x + 0x13, window->window_y + 1);
|
map_tile(ailmentTile + 0x20, window->window_x + 0x13, window->window_y + 1);
|
||||||
|
|
|
@ -24,7 +24,9 @@ typedef enum AILMENT2
|
||||||
typedef enum AILMENT3
|
typedef enum AILMENT3
|
||||||
{
|
{
|
||||||
SLEEP = 1,
|
SLEEP = 1,
|
||||||
CRYING = 2
|
CRYING = 2,
|
||||||
|
CANNOT_MOVE = 3,
|
||||||
|
SOLIDIFIED = 4
|
||||||
} AILMENT3;
|
} AILMENT3;
|
||||||
|
|
||||||
typedef enum CHARACTER
|
typedef enum CHARACTER
|
||||||
|
|
Loading…
Reference in New Issue