From 9336250a0d945e0c5f9567f45b6bfe1c48dc56fe Mon Sep 17 00:00:00 2001 From: vulcandth Date: Fri, 20 Feb 2026 23:02:19 -0600 Subject: [PATCH] indent nested unions --- ram/hram.asm | 32 ++++++++++++++++---------------- ram/wram.asm | 14 +++++++------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/ram/hram.asm b/ram/hram.asm index 24260b807..f6dc97cb1 100644 --- a/ram/hram.asm +++ b/ram/hram.asm @@ -98,22 +98,22 @@ hSpritePriority:: db UNION ; Multiplication and division variables are meant ; to overlap for back-to-back usage. Big endian. -UNION - ds 1 -hMultiplicand:: ds 3 -hMultiplier:: db - ds 1 -hMultiplyBuffer:: ds 4 -NEXTU -hProduct:: ds 4 -NEXTU -hDividend:: ds 4 -hDivisor:: db -hDivideBuffer:: ds 5 -NEXTU -hQuotient:: ds 4 -hRemainder:: db -ENDU + UNION + ds 1 + hMultiplicand:: ds 3 + hMultiplier:: db + ds 1 + hMultiplyBuffer:: ds 4 + NEXTU + hProduct:: ds 4 + NEXTU + hDividend:: ds 4 + hDivisor:: db + hDivideBuffer:: ds 5 + NEXTU + hQuotient:: ds 4 + hRemainder:: db + ENDU NEXTU ; PrintNumber (big endian). diff --git a/ram/wram.asm b/ram/wram.asm index 44775192a..edb21bdf7 100644 --- a/ram/wram.asm +++ b/ram/wram.asm @@ -508,13 +508,13 @@ wPlayerMonMinimized:: db ds 13 -UNION -; the amount of damage accumulated by the enemy while biding -wEnemyBideAccumulatedDamage:: dw -NEXTU -; number of hits by enemy in attacks like Double Slap, etc. -wEnemyNumHits:: db -ENDU + UNION + ; the amount of damage accumulated by the enemy while biding + wEnemyBideAccumulatedDamage:: dw + NEXTU + ; number of hits by enemy in attacks like Double Slap, etc. + wEnemyNumHits:: db + ENDU ds 8 wMiscBattleDataEnd::