Simplify weirdly matching division/substraction code
This commit is contained in:
+2
-2
@@ -196,12 +196,12 @@ static void BattleIntroSlide1(u8 taskId)
|
||||
{
|
||||
if (gTasks[taskId].tTerrain == BATTLE_TERRAIN_LONG_GRASS)
|
||||
{
|
||||
if (gBattle_BG1_Y != 0xFFB0)
|
||||
if (gBattle_BG1_Y != (u16)(-80))
|
||||
gBattle_BG1_Y -= 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (gBattle_BG1_Y != 0xFFC8)
|
||||
if (gBattle_BG1_Y != (u16)(-56))
|
||||
gBattle_BG1_Y -= 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user