From 4b45282dd37266cc7d263a6fd4a5223f8e92b5be Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Mon, 16 Oct 2017 18:12:27 +0200 Subject: start working on battle interface --- asm/battle_controller_player.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'asm/battle_controller_player.s') diff --git a/asm/battle_controller_player.s b/asm/battle_controller_player.s index 047c62f6b..80796fa58 100644 --- a/asm/battle_controller_player.s +++ b/asm/battle_controller_player.s @@ -3557,7 +3557,7 @@ sub_8059330: @ 8059330 negs r0, r0 str r0, [sp] mov r0, r10 - bl sub_807294C + bl SetBattleBarStruct movs r0, 0x21 bl PlaySE ldr r0, =sub_8059400 @@ -8992,7 +8992,7 @@ _0805C44A: ldrb r1, [r1] str r7, [sp] mov r2, r8 - bl sub_807294C + bl SetBattleBarStruct b _0805C4F2 .pool _0805C4B4: @@ -9016,7 +9016,7 @@ _0805C4B4: ldrb r1, [r1] str r7, [sp] movs r3, 0 - bl sub_807294C + bl SetBattleBarStruct mov r2, r9 ldrb r0, [r2] adds r0, r4 -- cgit v1.2.3 From 0ffc5652fd746816a763e4e0ec83c08f2f53222c Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Wed, 18 Oct 2017 00:00:46 +0200 Subject: hp printing in healthboxes done I hope --- asm/battle_controller_player.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'asm/battle_controller_player.s') diff --git a/asm/battle_controller_player.s b/asm/battle_controller_player.s index 80796fa58..653746f54 100644 --- a/asm/battle_controller_player.s +++ b/asm/battle_controller_player.s @@ -3278,7 +3278,7 @@ bx_t1_healthbar_update: @ 8059130 adds r0, r6 ldrb r0, [r0] movs r2, 0 - bl heathbar_draw_hp + bl UpdateHpTextInHealthbox b _08059192 .pool _08059178: @@ -9023,7 +9023,7 @@ _0805C4B4: ldrb r0, [r0] movs r1, 0 movs r2, 0 - bl heathbar_draw_hp + bl UpdateHpTextInHealthbox _0805C4F2: ldr r1, =gBattleBankFunc ldr r0, =gActiveBank -- cgit v1.2.3 From 6e56211f40d7a191afd91bcf41d63178e26b5199 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Wed, 18 Oct 2017 21:42:00 +0200 Subject: more of battle interface done --- asm/battle_controller_player.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'asm/battle_controller_player.s') diff --git a/asm/battle_controller_player.s b/asm/battle_controller_player.s index 653746f54..ff3dd459c 100644 --- a/asm/battle_controller_player.s +++ b/asm/battle_controller_player.s @@ -403,7 +403,7 @@ _080577DC: ands r0, r2 cmp r0, 0 beq _080577E8 - bl sub_8073314 + bl SwapHpBarsWithHpText _080577E8: pop {r4-r7} pop {r0} @@ -10038,7 +10038,7 @@ _0805CDA4: subs r4, 0x2 adds r3, r4 ldrb r3, [r3] - bl sub_80735DC + bl CreatePartyStatusSummarySprites ldr r2, =gUnknown_020244B4 ldrb r1, [r5] adds r1, r2 -- cgit v1.2.3 From ee6bdc9068794652f929783e2ef326e542521327 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Wed, 18 Oct 2017 23:52:21 +0200 Subject: more battle interface --- asm/battle_controller_player.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'asm/battle_controller_player.s') diff --git a/asm/battle_controller_player.s b/asm/battle_controller_player.s index ff3dd459c..d3a396461 100644 --- a/asm/battle_controller_player.s +++ b/asm/battle_controller_player.s @@ -8936,7 +8936,7 @@ sub_805C410: @ 805C410 push {r6,r7} sub sp, 0x4 movs r0, 0 - bl load_gfxc_health_bar + bl LoadBattleBarGfx ldr r3, =gBattleBufferA ldr r0, =gActiveBank mov r9, r0 @@ -9067,7 +9067,7 @@ sub_805C528: @ 805C528 .pool _0805C560: movs r0, 0x1 - bl load_gfxc_health_bar + bl LoadBattleBarGfx adds r0, r4, 0 movs r1, 0xB bl GetMonData -- cgit v1.2.3