JustPaste.it

RBI 30 team hacking info

Start of "10 teams of tengen league"

 

0x00003148

 

Pinch hitter ab bonus

xAFB2

PPU palettes - NESdev Wiki

 

0x00009CA7 -BEANBALL Text

11303B0B40193B2A - HitByPtc

 

Credits screen:

0x0000F921 - 0x0000F976

 

30 tm juice

0x17FF-89008001E62150008001E621A000E001E621D800B001E621A0002001E621D8005001E6211801D000E62150018001E62118013002E62199008001E6219800E801E621D800A001E621

 

I found the bytes in the rom controlling the fielding speeds and such as outlined below.
I have also written code so MAN and CPU can have different fielding speeds and arm strength
(purposely set the code so an editor needs no changes).  You can play with the numbers but
I have both the CPU and MAN set for normal at the moment.
 
xDBDA-xDC21 is MAN/WATCH and x17FF-x1846 is CPU
 
Bytes 1-4 are Location, Byte 5 is Fielder Speed, Byte 6 is Arm Strength
*Fielder Speed of x00 won’t move players
*Arm Strength above x22 was overthrowing often to always
 
.BYTE $89,$00,$80,$01,$80,$20 ; PITCHER
.BYTE $50,$00,$80,$01,$80,$20 ; CATCHER
.BYTE $A0,$00,$E0,$01,$80,$20 ; FIRST BASE
.BYTE $D8,$00,$B0,$01,$80,$20 ; SECOND BASE
.BYTE $A0,$00,$20,$01,$80,$20 ; THIRD BASE
.BYTE $D8,$00,$50,$01,$80,$20 ; SHORTSTOP
.BYTE $18,$01,$D0,$00,$90,$1E ; LEFT FIELD
.BYTE $50,$01,$80,$01,$90,$1E ; CENTER FIELD
.BYTE $18,$01,$30,$02,$90,$1E ; RIGHT FIELD
.BYTE $99,$00,$80,$01,$80,$20 ; PITCHER (PICKOFF)
.BYTE $98,$00,$E8,$01,$80,$20 ; FIRST BASE (PICKOFF or RUNNER)
.BYTE $D8,$00,$A0,$01,$80,$20 ; SECOND BASE (PICKOFF)


Player/Team Info [Teams in order from 1-30]

PLAYERS: x6010-x7E0F (16 players per team)
LETTERS: 0-9 = x00-x09, A-Z = x0A-x23, SPACE = x24, . = x25, ' = x27, a-z = x28-x41
BATTERS DATA: Player#, Name (6 bytes), Arm Type, Batting Average Hi, Home Runs, Contact, Power Lo, Power Hi, Speed, Batting Average Lo, UNUSED
PITCHER DATA: Player#, Name (6 bytes), Sinker Ability/Arm Type, ERA Hi, Sinker Speed, Curve Speed, Fastball Speed, Curve Ability, Stamina, CPU Left, CPU Right

PER-PITCHER BATTING/LONG ERA: x10-x3CF (4 pitchers per team)
PITCHER DATA: Batting Average Hi, Home Runs, Contact, Power Lo, Power Hi, Speed, Batting Average Lo, ERA Lo

TEAM ERROR PROBABILITY: xDC61-xDC7E
TEAMS  1-10: x05, x05, x05, x05, x05, x05, x05, x05, x05, x05
TEAMS 11-20: x05, x05, x05, x05, x05, x05, x05, x05, x05, x05
TEAMS 21-30: x05, x05, x05, x05, x05, x05, x05, x05, x05, x05

CPU CENTER DEFAULT: x23D9, CPU LEFT DEFAULT: x23E6, CPU RIGHT DEFAULT: x23EA

PINCH HITTER POWER BONUS: xAFB2
----------
Team Name Info [Teams in order from 1-30]

NEWSPAPER NAMES: x32CD-x34AC (16 bytes per team)
LETTERS: A = x40, B = x44, C = x48, D = x4C, E = x50, F = x54, G = x58, H = x5C, I = x60, J = x64, K = x68, L = x6C
         M = x70, N = x74, O = x78, P = x7C, Q = x80, R = x84, S = x88, T = x8C, U = x90, V = x94, W = x98, X = x9C
         Y = xA0, Z = xA4, SPACE = xA8, . = xD4

ATTRACT MODE NAME JUMPS: xF884-xF8B0 (Points to name data and reads 2 teams at a time)
TEAMS  1-10: x4C,xC0,x83, x4C,xF2,x83, x4C,x21,x84, x4C,x4C,x84, x4C,x7E,x84
TEAMS 11-20: x4C,xAC,x84, x4C,xD9,x84, x4C,x0D,x85, x4C,x41,x85, x4C,x6D,x85
TEAMS 21-30: x4C,x9E,x85, x4C,xD5,x85, x4C,x09,x86, x4C,x3B,x86, x4C,x66,x86
Jump To Formula: Location - x8000 + x10

ATTRACT MODE NAMES: 0x000003D5-x000006A6
LETTERS: 0-9 = x00-x09, A-Z = x0A-x23, SPACE = x24, . = x25, - = x26, a-z = x28-x41, & = x5D, " = x5E, ' = x5F Each 2 names will be in the format: x20,x27,xF4, Location (2 bytes), Text, Text Character, x4C,x70,xF8 where Text Character xFE = read another Location (2 bytes), Text, Text Character and xFF = end of reading Line 1 Location and tiles must be between $2322-$233E Line 2 Location and tiles must be between $2342-$235E Example: xF884: x4C,xC0,x83 (JMP $83C0 = x3D0) x3D0: x20,x27,xF4 (JSR $F427 = Subroutine reads following data) x27,x23 (Location $2327), Arizona, xFE (Break Character) x44,x23 (Location $2344), Diamondbacks, xFE (Break Character) x32,x23 (Location $2332), Atlanta, xFE (Break Character) x53,x23 (Location $2353), Braves, xFF (End Character) x4C,x70,xF8 (JMP $F870 = Jump to normal routine) ---------- Team Initial Info [Special letters are in order of: a, e, i, o, r, t, l, n, h, C, W, A, D, M, Y, F, L, B, UNUSED, UNUSED] TEAM SELECT SCREEN INITIALS: x9B94-x9BD8 (2 bytes per team) LETTERS: 0-9 = x18-x21, A-Z = x2A-x43, SPACE = x25, Special = (x80-x88,x8A,x8C,x8E,x90,x92,x94,x96,x98,x9A), Unused = (x9C,x9E) TEAMS 1-10: x26,x22 (Location $2226), x2A,x84, x2A,x85, x2B,x80, x2B,x83, x2C,x82, x2C,x8A, x2C,x8C, x2C,x86, x2C,x83, x2D,x81, xFE (Break Character) TEAMS 11-20: x66,x22 (Location $2266), x2F,x86, x31,x83, x34,x8A, x35,x8E, x35,x90, x36,x82, x36,x87, x37,x92, x37,x94, x38,x80, xFE (Break Character) TEAMS 21-30: xA6,x22 (Location $22A6), x39,x88, x39,x82, x3C,x90, x3C,x96, x3C,x81, x3C,x98, x3D,x9A, x3D,x81, x3D,x83, x40,x80, xFF (End Character)

TENGEN LEAUGE (team select) - 0x00009B40

STARTING PITCHER SELECT SCREEN INITIALS: xA760-xA79B (2 bytes per team) LETTERS: 0-9 = x00-x09, A-Z = x0A-x23, SPACE = x24, Special = (x80-x88,x8A,x8C,x8E,x90,x92,x94,x96,x98,x9A), Unused = (x9C,x9E) TEAMS 1-10: x0A,x84, x0A,x85, x0B,x80, x0B,x83, x0C,x82, x0C,x8A, x0C,x8C, x0C,x86, x0C,x83, x0D,x81 TEAMS 11-20: x0F,x86, x11,x83, x14,x8A, x15,x8E, x15,x90, x16,x82, x16,x87, x17,x92, x17,x94, x18,x80 TEAMS 21-30: x19,x88, x19,x82, x1C,x90, x1C,x96, x1C,x81, x1C,x98, x1D,x9A, x1D,x81, x1D,x83, x20,x80 BATTER SCREEN INITIALS: xB08D-xB0C8 (2 bytes per team) LETTERS: 0-9 = x00-x09, A-Z = x0A-x23, SPACE = x24, Special = (x4C-x57,x74-79), Unused = x7A-7B TEAMS 1-10: x0A,x50, x0A,x51, x0B,x4C, x0B,x4F, x0C,x4E, x0C,x55, x0C,x56, x0C,x52, x0C,x4F, x0D,x4D TEAMS 11-20: x0F,x52, x11,x4F, x14,x55, x15,x57, x15,x74, x16,x4E, x16,x53, x17,x75, x17,x76, x18,x4C TEAMS 21-30: x19,x54, x19,x4E, x1C,x74, x1C,x77, x1C,x4D, x1C,x78, x1D,x79, x1D,x4D, x1D,x4F, x20,x4C INNINGS SCREEN INITIALS: xB6D3-B70E (2 bytes per team) LETTERS: 0-9 = x00-x09, A-Z = xAA-xC3, SPACE = x1E, Special = x0A-x1B, Unused = x1C-x1D TEAMS 1-10: xAA,x0E, xAA,x0F, xAB,x0A, xAB,x0D, xAC,x0C, xAC,x13, xAC,x14, xAC,x10, xAC,x0D, xAD,x0B TEAMS 11-20: xAF,x10, xB1,x0D, xB4,x13, xB5,x15, xB5,x16, xB6,x0C, xB6,x11, xB7,x17, xB7,x18, xB8,x0A TEAMS 21-30: xB9,x12, xB9,x0C, xBC,x16, xBC,x19, xBC,x0B, xBC,x1A, xBD,x1B, xBD,x0B, xBD,x0D, xC0,x0A NEWSPAPER SCREEN INITIALS: xFD34-xFD6F (2 bytes per team) LETTERS: 0-9 = x00-x09, A-T = x0A-x1D, U-V = xDE-xDF, W-Z = x20-x23, SPACE = x1E, Special = xAC-xBD, Unused = xBE-xBF TEAMS 1-10: x0A,xB0, x0A,xB1, x0B,xAC, x0B,xAF, x0C,xAE, x0C,xB5, x0C,xB6, x0C,xB2, x0C,xAF, x0D,xAD TEAMS 11-20: x0F,xB2, x11,xAF, x14,xB5, x15,xB7, x15,xB8, x16,xAE, x16,xB3, x17,xB9, x17,xBA, x18,xAC TEAMS 21-30: x19,xB4, x19,xAE, x1C,xB8, x1C,xBB, x1C,xAD, x1C,xBC, x1D,xBD, x1D,xAD, x1D,xAF, x20,xAC ---------- Color Info [Colors are from NES Palette]

 
TEAM COLORS: xFF67-xFFC0 (Colors are Hat, Skin Tone, Uniform) TEAMS 1-10: x0F,x36,x15, x01,x36,x11, x0F,x36,x36, x01,x36,x15, x15,x36,x00, x11,x36,x21, x0F,x36,x30, x01,x36,x30, x0F,x36,x00, x01,x36,x26 TEAMS 11-20: x0F,x36,x1C, x05,x36,x37, x11,x36,x30, x15,x36,x10, x11,x36,x10, x01,x36,x18, x15,x36,x01, x11,x36,x26, x0F,x36,x10, x0A,x36,x38 TEAMS 21-30: x15,x36,x30, x0F,x36,x28, x01,x36,x28, x0F,x36,x26, x01,x36,x1C, x01,x36,x00, x0F,x36,x21, x11,x36,x15, x0F,x36,x01, x01,x36,x10 TITLE SCREEN PALETTE: x2ED2-x2EF1 x0F,x16,x20,x23,x0F,x20,x16,x28,x0F,x27,x11,x01,x0F,x28,x11,x01 x0F,x0F,x26,x20,x0F,x12,x26,x15,x0F,x20,x0F,x26,x0F,x20,x06,x10

Background - default is 0F (black) change all 0F's to what you want the background color to be
RBI - 0x2ED8
Baseball - 0x2ED9
seams on ball - 0x2ED3
Outline on RBI - 0x2ED7
Color for all text + the ball shown on intro - 0x2ED4


ATTRACT MODE PALETTE: x310D-x311C x0C,x16,x20,x23,x0C,x20,x16,x28,x0C,x27,x11,x01,x0C,x28,x11,x01 NEWSPAPER SCREEN PALETTE: x319B-x31BA x0F,x10,x0F,xFF,x0F,x13,x1A,x0C,x0F,x19,x20,x0C,x0F,x19,x20,x0C x0F,x00,x10,x20 (TEAM COLORS REPLACE PREVIOUS),x0F,x00,x10,x20,x0F,x00,x10,x20,x0F,x00,x10,x20 STARTING PITCHER SELECT SCREEN PALETTE: x9D22-x9D31 x0F,x20,x20,x0F,x0F,x0F,x24,x0F,x0F,x20,x01,x29,x0F,x28,x11,x01 GAME FIELD/INNINGS SCREEN PALETTE: x9EFE-x9F1D x19,x20,x0C,x25,x19,x20,x0C,x00,x19,x20,x17,x0F,x19,x20,x0C,x0F x19,x00,x00,x00 (TEAM1 COLORS REPLACE PREVIOUS),x19,x00,x00,x00 (TEAM2 COLORS REPLACE PREVIOUS),x19,x20,x0F,x26,x19,x20,x06,x10 TEAM SELECT SCREEN PALETTE: xA0B5-xA0C4 x0F,x20,x20,x0F,x0F,x16,x20,x01,x0F,x19,x20,x01,x0F,x0C,x20,x39 BATTER SCREEN PALETTE: xB970-xB97F x0F,x19,x20,x17,x0F,x21,x20,x0C,x0F,x19,x20,x0C,x0F,x19,x20,x0C