Thread: Development: Wild Pokémon Double Battles
View Single Post
Old January 13th, 2010 (9:16 PM). Edited January 14th, 2010 by ZodiacDaGreat.
ZodiacDaGreat's Avatar
ZodiacDaGreat ZodiacDaGreat is offline
Working on a Mobile System
Join Date: Feb 2007
Location: South Pacific
Age: 24
Gender: Male
Nature: Relaxed
Posts: 429
Send a message via ICQ to ZodiacDaGreat
I found the same thing on Ruby Except that the buffer's were different.

ROM:08120AA8 ; ---------------------------------------------------------------------------
ROM:08120AA8 BattlePrinting
ROM:08120AA8                 PUSH    {R4-R7,LR}
ROM:08120AAA                 MOV     R7, R10
ROM:08120AAC                 MOV     R6, R9
ROM:08120AAE                 MOV     R5, R8
ROM:08120AB0                 PUSH    {R5-R7}
ROM:08120AB2                 LSLS    R0, R0, #0x10
ROM:08120AB4                 LSRS    R7, R0, #0x10
ROM:08120AB6                 MOVS    R6, #0
ROM:08120AB8                 LDR     R5, =0x2039270
ROM:08120ABA                 LDR     R4, =0x2024A60
ROM:08120ABC                 LDRB    R1, [R4]
ROM:08120ABE                 LSLS    R1, R1, #9
ROM:08120AC0                 LDR     R0, =0x2023A64
ROM:08120AC2                 ADDS    R1, R1, R0
ROM:08120AC4                 STR     R1, [R5]
ROM:08120AC6                 LDR     R2, =0x2024C04
ROM:08120AC8                 LDRH    R0, [R1,#4]
ROM:08120ACA                 STRH    R0, [R2]
ROM:08120ACC                 LDR     R2, =0x2024C06
ROM:08120ACE                 LDRB    R0, [R1,#6]
ROM:08120AD0                 STRB    R0, [R2]
ROM:08120AD2                 LDR     R3, =0x2000000
ROM:08120AD4                 LDRB    R0, [R1,#7]
ROM:08120AD6                 MOV     R8, R0
ROM:08120AD8                 LDR     R2, =0x16003
ROM:08120ADA                 ADDS    R0, R3, R2
ROM:08120ADC                 MOV     R2, R8
ROM:08120ADE                 STRB    R2, [R0]
ROM:08120AE0                 LDRB    R0, [R1,#8]
ROM:08120AE2                 MOV     R8, R0
ROM:08120AE4                 LDR     R2, =0x1605E
ROM:08120AE6                 ADDS    R0, R3, R2
ROM:08120AE8                 MOV     R2, R8
ROM:08120AEA                 STRB    R2, [R0]
ROM:08120AEC                 LDRB    R0, [R1,#9]
ROM:08120AEE                 MOV     R8, R0
ROM:08120AF0                 LDR     R2, =0x160C1
ROM:08120AF2                 ADDS    R0, R3, R2
ROM:08120AF4                 MOV     R2, R8
ROM:08120AF6                 STRB    R2, [R0]
ROM:08120AF8                 LDR     R2, =0x2024C0B
ROM:08120AFA                 LDRB    R0, [R1,#0xA]
ROM:08120AFC                 STRB    R0, [R2]
ROM:08120AFE                 LDRB    R1, [R1,#0xB]
ROM:08120B00                 LDR     R2, =0x160A0
ROM:08120B02                 ADDS    R0, R3, R2
ROM:08120B04                 STRB    R1, [R0]
ROM:08120B06                 MOVS    R2, #0
ROM:08120B08                 MOV     R9, R3
ROM:08120B0A                 LDR     R3, =0x30041C0
ROM:08120B0C                 MOV     R10, R3
ROM:08120B0E                 LDR     R3, =0x203926C
ROM:08120B10 loc_8120B10                             ; CODE XREF: ROM:08120B20j
ROM:08120B10                 ADDS    R0, R2, R3
ROM:08120B12                 LDR     R1, [R5]
ROM:08120B14                 ADDS    R1, #0xC
ROM:08120B16                 ADDS    R1, R1, R2
ROM:08120B18                 LDRB    R1, [R1]
ROM:08120B1A                 STRB    R1, [R0]
ROM:08120B1C                 ADDS    R2, #1
ROM:08120B1E                 CMP     R2, #3
ROM:08120B20                 BLE     loc_8120B10
ROM:08120B22                 MOVS    R2, #0
ROM:08120B24                 LDR     R0, =0x30041C0
ROM:08120B26                 MOV     R8, R0
ROM:08120B28                 LDR     R3, =0x2039270
ROM:08120B2A                 LDR     R1, =0x3004290
ROM:08120B2C                 MOV     R12, R1
ROM:08120B2E                 LDR     R5, =0x30042B0
ROM:08120B30 loc_8120B30                             ; CODE XREF: ROM:08120B5Cj
ROM:08120B30                 MOV     R0, R8
ROM:08120B32                 ADDS    R1, R2, R0
ROM:08120B34                 LDR     R0, [R3]
ROM:08120B36                 ADDS    R0, #0x10
ROM:08120B38                 ADDS    R0, R0, R2
ROM:08120B3A                 LDRB    R0, [R0]
ROM:08120B3C                 STRB    R0, [R1]
ROM:08120B3E                 MOV     R0, R12
ROM:08120B40                 ADDS    R1, R2, R0
ROM:08120B42                 LDR     R0, [R3]
ROM:08120B44                 ADDS    R0, #0x20
ROM:08120B46                 ADDS    R0, R0, R2
ROM:08120B48                 LDRB    R0, [R0]
ROM:08120B4A                 STRB    R0, [R1]
ROM:08120B4C                 ADDS    R1, R2, R5
ROM:08120B4E                 LDR     R0, [R3]
ROM:08120B50                 ADDS    R0, #0x30
ROM:08120B52                 ADDS    R0, R0, R2
ROM:08120B54                 LDRB    R0, [R0]
ROM:08120B56                 STRB    R0, [R1]
ROM:08120B58                 ADDS    R2, #1
ROM:08120B5A                 CMP     R2, #0xF
ROM:08120B5C                 BLE     loc_8120B30
ROM:08120B5E                 CMP     R7, #5
ROM:08120B60                 BLS     loc_8120B64
ROM:08120B62                 B       loc_8120F50
ROM:08120B64 ; ---------------------------------------------------------------------------
ROM:08120B64 loc_8120B64                             ; CODE XREF: ROM:08120B60j
ROM:08120B64                 LSLS    R0, R7, #2
ROM:08120B66                 LDR     R1, =off_8120BB0
ROM:08120B68                 ADDS    R0, R0, R1
ROM:08120B6A                 LDR     R0, [R0]
ROM:08120B6C                 MOV     PC, R0
ROM:08120B6C ; ---------------------------------------------------------------------------
ROM:08120B6E                 DCB    0
ROM:08120B6F                 DCB    0
ROM:08120B70 dword_8120B70   DCD 0x2039270           ; DATA XREF: ROM:08120AB8r
ROM:08120B70                                         ; ROM:08120B28r
ROM:08120B74 dword_8120B74   DCD 0x2024A60           ; DATA XREF: ROM:08120ABAr
ROM:08120B78 dword_8120B78   DCD 0x2023A64           ; DATA XREF: ROM:08120AC0r
ROM:08120B7C dword_8120B7C   DCD 0x2024C04           ; DATA XREF: ROM:08120AC6r
ROM:08120B80 dword_8120B80   DCD 0x2024C06           ; DATA XREF: ROM:08120ACCr
ROM:08120B84 dword_8120B84   DCD 0x2000000           ; DATA XREF: ROM:08120AD2r
ROM:08120B88 dword_8120B88   DCD 0x16003             ; DATA XREF: ROM:08120AD8r
ROM:08120B8C dword_8120B8C   DCD 0x1605E             ; DATA XREF: ROM:08120AE4r
ROM:08120B90 dword_8120B90   DCD 0x160C1             ; DATA XREF: ROM:08120AF0r
ROM:08120B94 dword_8120B94   DCD 0x2024C0B           ; DATA XREF: ROM:08120AF8r
ROM:08120B98 dword_8120B98   DCD 0x160A0             ; DATA XREF: ROM:08120B00r
ROM:08120B9C dword_8120B9C   DCD 0x30041C0           ; DATA XREF: ROM:08120B0Ar
ROM:08120B9C                                         ; ROM:08120B24r
ROM:08120BA0 dword_8120BA0   DCD 0x203926C           ; DATA XREF: ROM:08120B0Er
ROM:08120BA4 dword_8120BA4   DCD 0x3004290           ; DATA XREF: ROM:08120B2Ar
ROM:08120BA8 dword_8120BA8   DCD 0x30042B0           ; DATA XREF: ROM:08120B2Er
ROM:08120BAC off_8120BAC     DCD off_8120BB0         ; DATA XREF: ROM:08120B66r
ROM:08120BB0 off_8120BB0     DCD loc_8120BC8         ; DATA XREF: ROM:off_8120BACo
ROM:08120BB4                 DCD unk_8120C40
ROM:08120BB8                 DCD unk_8120CCC
ROM:08120BBC                 DCD unk_8120D5C
ROM:08120BC0                 DCD unk_8120DE8
ROM:08120BC4                 DCD unk_8120E50
ROM:08120BC8 ; ---------------------------------------------------------------------------
ROM:08120BC8 loc_8120BC8                             ; DATA XREF: ROM:off_8120BB0o
ROM:08120BC8                 LDR     R0, =0x20239F8
ROM:08120BCA                 LDRH    R1, [R0]
ROM:08120BCC                 MOVS    R0, #8
ROM:08120BCE                 ANDS    R0, R1
ROM:08120BD0                 CMP     R0, #0
ROM:08120BD2                 BEQ     loc_8120C00
ROM:08120BD4                 MOVS    R0, #2
ROM:08120BD6                 ANDS    R0, R1
ROM:08120BD8                 CMP     R0, #0
ROM:08120BDA                 BEQ     loc_8120BF8
ROM:08120BDC                 MOVS    R0, #0x40
ROM:08120BDE                 ANDS    R0, R1
ROM:08120BE0                 LDR     R6, =unk_84005C7
ROM:08120BE2                 CMP     R0, #0
ROM:08120BE4                 BNE     loc_8120BE8
ROM:08120BE6                 B       loc_8120F70
ROM:08120BE8 ; ---------------------------------------------------------------------------
ROM:08120BE8 loc_8120BE8                             ; CODE XREF: ROM:08120BE4j
ROM:08120BE8                 LDR     R6, =unk_84005DB
ROM:08120BEA                 B       loc_8120F70
ROM:08120BEA ; ---------------------------------------------------------------------------
ROM:08120BEC dword_8120BEC   DCD 0x20239F8           ; DATA XREF: ROM:loc_8120BC8r
ROM:08120BF0 off_8120BF0     DCD unk_84005C7         ; DATA XREF: ROM:08120BE0r
ROM:08120BF4 off_8120BF4     DCD unk_84005DB         ; DATA XREF: ROM:loc_8120BE8r
ROM:08120BF8 ; ---------------------------------------------------------------------------
ROM:08120BF8 loc_8120BF8                             ; CODE XREF: ROM:08120BDAj
ROM:08120BF8                 LDR     R6, =unk_84005AA
ROM:08120BFA                 B       loc_8120F70
ROM:08120BFA ; ---------------------------------------------------------------------------
ROM:08120BFC off_8120BFC     DCD unk_84005AA         ; DATA XREF: ROM:loc_8120BF8r
ROM:08120C00 ; ---------------------------------------------------------------------------
ROM:08120C00 loc_8120C00                             ; CODE XREF: ROM:08120BD2j
ROM:08120C00                 MOVLS   R0, 0x2000
ROM:08120C04                 ANDS    R0, R1
ROM:08120C06                 CMP     R0, #0
ROM:08120C08                 BEQ     loc_8120C14
ROM:08120C0A                 LDR     R6, =unk_8400568
ROM:08120C0C                 B       loc_8120F70
ROM:08120C0C ; ---------------------------------------------------------------------------
ROM:08120C0E                 DCB    0
ROM:08120C0F                 DCB    0
ROM:08120C10 off_8120C10     DCD unk_8400568         ; DATA XREF: ROM:08120C0Ar
ROM:08120C14 ; ---------------------------------------------------------------------------
ROM:08120C14 loc_8120C14                             ; CODE XREF: ROM:08120C08j
ROM:08120C14                 MOVS    R0, #1
ROM:08120C16                 ANDS    R0, R1
ROM:08120C18                 CMP     R0, #0
ROM:08120C1A                 BEQ     loc_8120C24
ROM:08120C1C                 LDR     R6, =DoubleWildBattleText ; Wild [buffer1] and [buffer2] appeared!
ROM:08120C1E                 B       loc_8120F70
ROM:08120C1E ; ---------------------------------------------------------------------------
ROM:08120C20 off_8120C20     DCD DoubleWildBattleText ; DATA XREF: ROM:08120C1Cr
ROM:08120C24 ; ---------------------------------------------------------------------------
So, I take it that Nintendo obviously planned Double Wild Battles on GBA but due to some certain *whatever* we never get to see it XD

Edit: Looks like I have to document my Ruby ROM more :D
Reply With Quote