Metroid Fusion: missile tank 0806C3D2 490A ldr r1,=3001310h 0806C3D4 88C8 ldrh r0,[r1,6h] Load missile capacity to r0 0806C3D6 3005 add r0,5h Add 5 to r0 0806C3D8 28FF cmp r0,0FFh If r0 is greater than 255 0806C3DA DC2C bgt 806C436h Go to 806C436h 0806C3D8 80C8 strh r0,[r1,6h] Store r0 to missile capacity 0806C3DA 8888 ldrh r0,[r1,4h] Load missile status to r0 0806C3DC 3005 add r0,5h Add 5 to r0 0806C3DE 8088 strh r0,[r1,4h] Store r0 to missile status 0806C3EA E027 b 806C436h -------------------------------------------------- Missile tank = missiles ability 0806C3D2 490A ldr r1,=3001310h 0806C3D4 88C8 ldrh r0,[r1,6h] Load missile capacity to r0 0806C3D6 3005 add r0,5h Add 5 to r0 0806C3D8 80C8 strh r0,[r1,6h] Store r0 to missile capacity 0806C3DA 8088 strh r0,[r1,4h] Store r0 to missile status 0806C3DC 7AC8 ldrb r0,[r1,0Bh] Load missile + bomb status to r0 0806C3DE 2201 mov r2,1h Make r2 1 0806C3E0 4310 orr r0,r2 OR r2 to r0 0806C3E2 72C8 strb r0,[r1,0Bh] Store r0 to missile + bomb status 0806C3E4 E027 b 806C436h ---------------------------------------------------------------------------------------------------- Metroid Fusion: energy tank 0806C404 4A04 ldr r2,=3001310h 0806C406 8850 ldrh r0,[r2,2h] Load health capacity to r0 0806C408 1C01 mov r1,r0 Move r0 to r1 0806C40A 3164 add r1,64h Add 100 to r1 0806C40C 4803 ldr r0,=833h Load 2099 to r0 0806C40E 4281 cmp r1,r0 If r1 is greater than r0 0806C410 DC11 bgt 806C436h Go to 806C436 0806C412 8051 strh r1,[r2,2h] Store r1 to health capacity 0806C414 8011 strh r1,[r2] Store r1 to health status 0806C406 E00E b 806C436h ---------------------------------------------------------------------------------------------------- Metroid Fusion: power bomb tank 0806C424 4919 ldr r1,=3001310h 0806C426 7A48 ldrb r0,[r1,9h] Load power bomb capacity to r0 0806C428 3002 add r0,2h Add 2 to r0 0806C42A 28FE cmp r0,0FEh If r0 is greater than 254 0806C42C DC03 bgt 806C436h Go to 806C436 0806C42E 7248 strb r0,[r1,9h] Store r0 to power bomb capacity 0806C430 7A08 ldrb r0,[r1,8h] Load power bomb status to r0 0806C432 3002 add r0,2h Add 2 to r0 0806C434 7208 strb r0,[r1,8h] Store r0 to power bomb status -------------------------------------------------- Power bomb tank = power bomb ability 0806C424 4919 ldr r1,=3001310h 0806C426 7A48 ldrb r0,[r1,9h] Load power bomb capacity to r0 0806C428 3002 add r0,2h Add 2 to r0 0806C42A 7248 strb r0,[r1,9h] Store r0 to power bomb capacity 0806C42C 7208 strb r0,[r1,8h] Store r0 to power bomb status 0806C42E 7AC8 ldrb r0,[r1,0Bh] Load missile + bomb status to r0 0806C430 2220 mov r2,20h Make r2 0x20 0806C432 4310 orr r0,r2 OR r2 to r0 0806C432 72C8 strb r0,[r1,0Bh] Store r0 to missile + bomb status