2020-09-24 05:16:13 +02:00
|
|
|
.set noat # allow manual use of $at
|
2020-08-04 08:49:11 +02:00
|
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
|
|
glabel move_cam_over
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 17CDB8 8024E4D8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
2020-11-29 08:13:07 +01:00
|
|
|
/* 17CDBC 8024E4DC 3C028028 */ lui $v0, %hi(D_80280CE0)
|
|
|
|
/* 17CDC0 8024E4E0 80420CE0 */ lb $v0, %lo(D_80280CE0)($v0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 17CDC4 8024E4E4 0080182D */ daddu $v1, $a0, $zero
|
|
|
|
/* 17CDC8 8024E4E8 1440000A */ bnez $v0, .L8024E514
|
|
|
|
/* 17CDCC 8024E4EC AFBF0010 */ sw $ra, 0x10($sp)
|
2020-09-28 03:13:56 +02:00
|
|
|
/* 17CDD0 8024E4F0 3C02800E */ lui $v0, %hi(gBattleStatus)
|
|
|
|
/* 17CDD4 8024E4F4 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 17CDD8 8024E4F8 8C4400C4 */ lw $a0, 0xc4($v0)
|
2020-11-29 08:13:07 +01:00
|
|
|
/* 17CDDC 8024E4FC 3C01802A */ lui $at, %hi(D_8029F29E)
|
|
|
|
/* 17CDE0 8024E500 A423F29E */ sh $v1, %lo(D_8029F29E)($at)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 17CDE4 8024E504 10800003 */ beqz $a0, .L8024E514
|
2021-01-11 13:40:52 +01:00
|
|
|
/* 17CDE8 8024E508 00000000 */ nop
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 17CDEC 8024E50C 0C0B0F41 */ jal restart_script
|
2021-01-11 13:40:52 +01:00
|
|
|
/* 17CDF0 8024E510 00000000 */ nop
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8024E514:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 17CDF4 8024E514 8FBF0010 */ lw $ra, 0x10($sp)
|
|
|
|
/* 17CDF8 8024E518 03E00008 */ jr $ra
|
|
|
|
/* 17CDFC 8024E51C 27BD0018 */ addiu $sp, $sp, 0x18
|