player partner controller is done

This commit is contained in:
DizzyEggg 2017-10-23 11:07:36 +02:00
parent 21f4995922
commit a8ea415c81
8 changed files with 1849 additions and 6373 deletions

View File

@ -4047,7 +4047,7 @@ _08066794:
ldr r0, =gTrainerBattleOpponent_B
_08066796:
ldrh r0, [r0]
bl sub_8162AA0
bl GetFrontierTrainerFrontSpriteId
lsls r0, 24
lsrs r0, 24
b _0806694C
@ -4379,7 +4379,7 @@ _08066A74:
ldr r0, =gTrainerBattleOpponent_B
_08066A76:
ldrh r0, [r0]
bl sub_8162AA0
bl GetFrontierTrainerFrontSpriteId
lsls r0, 24
lsrs r0, 24
mov r8, r0

View File

@ -4238,18 +4238,18 @@ _08061708:
cmp r0, 0x1
bne _08061734
ldrh r0, [r3]
bl sub_8162AA0
bl GetFrontierTrainerFrontSpriteId
b _0806175A
.pool
_08061734:
ldr r0, =gTrainerBattleOpponent_B
ldrh r0, [r0]
bl sub_8162AA0
bl GetFrontierTrainerFrontSpriteId
b _0806175A
.pool
_08061744:
ldrh r0, [r3]
bl sub_8162AA0
bl GetFrontierTrainerFrontSpriteId
b _0806175A
_0806174C:
movs r0, 0x80
@ -4485,18 +4485,18 @@ _08061950:
cmp r0, 0x1
bne _0806197C
ldrh r0, [r3]
bl sub_8162AA0
bl GetFrontierTrainerFrontSpriteId
b _080619A2
.pool
_0806197C:
ldr r0, =gTrainerBattleOpponent_B
ldrh r0, [r0]
bl sub_8162AA0
bl GetFrontierTrainerFrontSpriteId
b _080619A2
.pool
_0806198C:
ldrh r0, [r3]
bl sub_8162AA0
bl GetFrontierTrainerFrontSpriteId
b _080619A2
_08061994:
movs r0, 0x80

File diff suppressed because it is too large Load Diff

View File

@ -4045,7 +4045,7 @@ _081888D8:
ldr r0, =gTrainerBattleOpponent_B
_081888DA:
ldrh r0, [r0]
bl sub_8162AA0
bl GetFrontierTrainerFrontSpriteId
lsls r0, 24
lsrs r0, 24
b _0818892C

View File

@ -6971,7 +6971,7 @@ _08192598:
.pool
_081925AC:
ldr r0, [sp, 0x24]
bl sub_8162AA0
bl GetFrontierTrainerFrontSpriteId
_081925B2:
lsls r0, 24
lsrs r0, 24
@ -8554,7 +8554,7 @@ _081932D4:
_081932E4:
lsls r0, r1, 16
lsrs r0, 16
bl sub_8162AA0
bl GetFrontierTrainerFrontSpriteId
_081932EC:
lsls r0, 24
lsrs r0, 24
@ -8642,7 +8642,7 @@ _08193388:
_081933A4:
lsls r0, r1, 16
lsrs r0, 16
bl sub_8162AA0
bl GetFrontierTrainerFrontSpriteId
lsls r0, 24
lsrs r0, 24
_081933B0:

View File

@ -1329,8 +1329,8 @@ _08162A8A:
.pool
thumb_func_end sub_81628A0
thumb_func_start sub_8162AA0
sub_8162AA0: @ 8162AA0
thumb_func_start GetFrontierTrainerFrontSpriteId
GetFrontierTrainerFrontSpriteId: @ 8162AA0
push {r4,r5,lr}
lsls r0, 16
lsrs r4, r0, 16
@ -1454,7 +1454,7 @@ _08162BCA:
pop {r1}
bx r1
.pool
thumb_func_end sub_8162AA0
thumb_func_end GetFrontierTrainerFrontSpriteId
thumb_func_start GetFrontierOpponentClass
GetFrontierOpponentClass: @ 8162BD8

View File

@ -254,7 +254,6 @@ SECTIONS {
src/multiboot.o(.text);
asm/unk_81BAD84.o(.text);
src/battle_controller_player_partner.o(.text);
asm/battle_controller_player_partner.o(.text);
asm/fldeff_groundshake.o(.text);
asm/fossil_specials.o(.text);
src/berry_fix_program.o(.text);

File diff suppressed because it is too large Load Diff