; 1 file included
; 102 lines
; 10 labels
; 0 equations

; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm

FFFFFFFF .psx                                                         ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 3
FFFFFFFF .open ""C:\\Users\\ShemetSA.RADIO\\Documents\\GitHub\\p2is_asm\\0001_BATTLE_CODE.bin"",0x800AB000; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 5
800EF150 simplecopystring:                                            ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 7
800AB000 .org 0x800F9E60                                              ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 9
800F9E60    lhu     r2,0x0(r5)                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 11
800F9E64    addiu   r5,0x2                                            ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 12
800F9E68    sh      r2,0x0(r4)                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 13
800F9E6C    andi    r3,r2,0xFF                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 14
800F9E70    addiu   r4,0x2                                            ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 15
800F9E74 nextch:                                                      ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 16
800F9E74    lbu     r2,0x0(r5)                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 17
800F9E78    nop                                                       ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 18
800F9E7C    sb      r2,0x0(r4)                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 19
800F9E80    addiu   r4,0x1                                            ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 20
800F9E84    addiu   r5,0x1                                            ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 21
800F9E88    addiu   r3,-0x1                                           ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 22
800F9E8C    bne     r3,zero,0x800F9E74                                ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 23
800F9E90    nop                                                       ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 24
800F9E94    jr      ra                                                ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 25
800F9E98    nop                                                       ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 26
800F9E9C checkandcopyrusinscript:                                     ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 30
800F9E9C    lhu     r3,0x0(r5)                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 31
800F9EA0    nop                                                       ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 32
800F9EA4    srl     r3,r3,0xD                                         ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 33
800F9EA8    bne     v1,zero,0x800F9EB8                                ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 34
800F9EAC    nop                                                       ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 35
800F9EB0    j       0x800EF150                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 36
800F9EB4    nop                                                       ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 37
800F9EB8 mycopy:                                                      ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 39
800F9EB8    lhu     r3,0x0(r5)                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 40
800F9EBC    nop                                                       ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 41
800F9EC0    andi    r3,r3,0xFF                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 42
800F9EC4    addiu   r3,0x2                                            ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 43
800F9EC8 nx:                                                          ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 44
800F9EC8    lbu     r2,0x0(r5)                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 45
800F9ECC    nop                                                       ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 46
800F9ED0    sb      r2,0x0(r4)                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 47
800F9ED4    addiu   r4,0x1                                            ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 48
800F9ED8    addiu   r3,-0x1                                           ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 49
800F9EDC    bne     r3,zero,0x800F9EC8                                ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 50
800F9EE0    addiu   r5,0x1                                            ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 51
800F9EE4    andi    r2,r4,0x1                                         ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 54
800F9EE8    beq     r2,zero,0x800F9EF4                                ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 55
800F9EEC    nop                                                       ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 56
800F9EF0    addiu   r4,r4,0x1                                         ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 57
800F9EF4 notand1_3:                                                   ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 60
800F9EF4    jr      ra                                                ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 61
800F9EF8    move    r2,r4                                             ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 62
800F9EFC .org 0x800F9F20                                              ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 67
800F9F20    lui     r2,-0x7FEF                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 68
800F9F24    lbu     r2,0xBC8(r2)                                      ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 69
800F9F28    nop                                                       ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 70
800F9F2C    ori     r3,r0,0x3                                         ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 71
800F9F30    bne     r2,r3,0x800F9F3C                                  ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 72
800F9F34    ori     r3,r0,0x30                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 73
800F9F38    ori     r3,r0,0x80                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 75
800F9F3C not3:                                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 76
800F9F3C    lui     r2,0x1F49                                         ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 77
800F9F40    sb      r3,-0xC(r2)                                       ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 78
800F9F44    j       0x80016E10                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 79
800F9F48    nop                                                       ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 80
800F9F4C .org 0x800AD4E8                                              ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 84
800AD4E8 .org 0x800F1F60                                              ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 94
800F1F60    jal     0x800F9E9C                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 95
800F1F64 .org 0x800F20BC                                              ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 96
800F20BC    jal     0x800F9E9C                                        ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 97
800F20C0 .close                                                       ; C:\Users\ShemetSA.RADIO\Documents\GitHub\p2is_asm\battle_patch.asm line 102
