mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
20 lines
1.0 KiB
ArmAsm
20 lines
1.0 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel load_battle
|
|
/* 4E090 80072C90 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 4E094 80072C94 3C01800E */ lui $at, %hi(gBattleStatus+0x478)
|
|
/* 4E098 80072C98 AC24C4E8 */ sw $a0, %lo(gBattleStatus+0x478)($at)
|
|
/* 4E09C 80072C9C AFBF0010 */ sw $ra, 0x10($sp)
|
|
/* 4E0A0 80072CA0 0C00CD3C */ jal set_game_mode
|
|
/* 4E0A4 80072CA4 24040008 */ addiu $a0, $zero, 8
|
|
/* 4E0A8 80072CA8 8FBF0010 */ lw $ra, 0x10($sp)
|
|
/* 4E0AC 80072CAC 3C01800E */ lui $at, %hi(gBattleState)
|
|
/* 4E0B0 80072CB0 AC20C068 */ sw $zero, %lo(gBattleState)($at)
|
|
/* 4E0B4 80072CB4 3C01800E */ lui $at, %hi(gBattleStatus+0x460)
|
|
/* 4E0B8 80072CB8 AC20C4D0 */ sw $zero, %lo(gBattleStatus+0x460)($at)
|
|
/* 4E0BC 80072CBC 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
|
/* 4E0C0 80072CC0 AC20C4DC */ sw $zero, %lo(gBattleStatus+0x46C)($at)
|
|
/* 4E0C4 80072CC4 03E00008 */ jr $ra
|
|
/* 4E0C8 80072CC8 27BD0018 */ addiu $sp, $sp, 0x18
|