Users browsing this thread: 1 Guest(s)
Magic description position

#14
Posts: 110
Threads: 4
Thanks Received: 4
Thanks Given: 1
Joined: Jan 2012
Reputation: 4
Status
None
Ahh. I think I've figured it out.

The Japanese version only draws one line. The US version draws two, which requires four passes.

This gets a bit more complex.

This is the code from the US version of the game:
[quote]
Ahh. I think I've figured it out.

The Japanese version only draws one line. The US version draws two, which requires four passes.

This gets a bit more complex.

This is the code from the US version of the game:
Code:
C3/A662:    A24980      LDX #$8049            ; map data starts here
C3/A665:    86EB        STX $EB
C3/A667:    A97E        LDA #$7E            ; bank for map
C3/A669:    85ED        STA $ED
C3/A66B:    A0BC00      LDY #$00BC            ; end of map
C3/A66E:    84E7        STY $E7
C3/A670:    A08400      LDY #$0084            ; maximum number of pixels in first line, top row
C3/A673:    A20035      LDX #$3500            ; map data related
C3/A676:    86E0        STX $E0
C3/A678:    2083A7      JSR $A783            ; place top half of top line map data
C3/A67B:    A0FC00      LDY #$00FC
C3/A67E:    84E7        STY $E7
C3/A680:    A0C400      LDY #$00C4            ; maximum number of pixels in second line, top row
C3/A683:    A20135      LDX #$3501
C3/A686:    86E0        STX $E0
C3/A688:    2083A7      JSR $A783            ; place bottom half of top line map data
C3/A68B:    A03C01      LDY #$013C
C3/A68E:    84E7        STY $E7
C3/A690:    A00401      LDY #$0104            ; maximum number of pixels in first line, bottom row
C3/A693:    A23835      LDX #$3538
C3/A696:    86E0        STX $E0
C3/A698:    2083A7      JSR $A783            ; place top half of bottom line map data
C3/A69B:    A07C01      LDY #$017C
C3/A69E:    84E7        STY $E7
C3/A6A0:    A04401      LDY #$0144            ; maximum number of pixels in second line, bottom row
C3/A6A3:    A23935      LDX #$3539
C3/A6A6:    86E0        STX $E0
C3/A6A8:    4C83A7      JMP $A783            ; place bottom half of bottom line map data

The Japanese code is only half of this. You'll need to move the code elsewhere to expand it.
  Find
Quote  



Messages In This Thread
Magic description position - by Tsushiy - 12-18-2014, 09:14 PM
RE: Magic description position - by dn - 12-19-2014, 06:54 AM
RE: Magic description position - by Tsushiy - 12-19-2014, 07:37 AM
RE: Magic description position - by dn - 12-19-2014, 07:42 AM
RE: Magic description position - by Tsushiy - 12-19-2014, 07:53 AM
RE: Magic description position - by dn - 12-19-2014, 08:00 AM
RE: Magic description position - by Tsushiy - 12-19-2014, 08:21 AM
RE: Magic description position - by dn - 12-19-2014, 08:23 AM
RE: Magic description position - by Tsushiy - 12-19-2014, 08:27 AM
RE: Magic description position - by dn - 12-19-2014, 08:41 AM
RE: Magic description position - by Tsushiy - 12-19-2014, 09:52 AM
RE: Magic description position - by dn - 12-19-2014, 10:16 AM
RE: Magic description position - by Tsushiy - 12-19-2014, 10:33 AM
RE: Magic description position - by dn - 12-19-2014, 11:13 AM
RE: Magic description position - by Tsushiy - 12-21-2014, 04:13 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite