If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!
Dragon Ball Z: Idainaru Son Goku Densetsu
Jump to navigation
Jump to search
Cleanup > Pages missing date references
Cleanup > Pages missing developer references
Cleanup > Pages missing publisher references
Games > Games by content > Games with uncompiled source code
Games > Games by developer > Games developed by Bandai Namco > Games developed by Bandai Namco Studios > Games developed by B.B. Studios > Games developed by Bec
Games > Games by platform > TurboGrafx-16 games > TurboGrafx-CD games
Games > Games by publisher > Games published by Bandai Namco > Games published by Bandai
Games > Games by release date > Games released in 1994
Games > Games by release date > Games released in November
Games > Games by release date > Games released in November > Games released on November 11
Games > Games by series > Dragon Ball series
Dragon Ball Z: Idainaru Son Goku Densetsu |
---|
Developer: Bec This game has uncompiled source code. |
Source Code
A large chunk of source code is found numerous times throughout track 02 as padding. This seems to be the most complete chunk (with garbage data removed):
ラレル カズ high
LDA #8
STA DR_3
JSR DIV_1608
LDA DR_4
STA DR_5
LDA #low KI_VWRT_R0
STA DR_7
LDA #high KI_VWRT_R0
STA DR_8
LDA #low KI_VWRT_R1
STA DR_9
LDA #high KI_VWRT_R1
STA DR_10
_EK10 ;ベタキャラ
LDA DR_4
BEQ _EK20
LDX #$08
_EK15
regset MAWR ;ライトアドレスセット
LDA DR_7
STA LOW_VDC
LDA DR_8
STA HI_VDC
regset VWR ;キャラナンバーセット
LDA KI_CHR_R0,X
STA LOW_VDC
LDA #kichr_hi
STA HI_VDC
LDA DR_7 ;セットアドレスインクリメント
SEC
SBC #1
STA DR_7
LDA DR_8
SBC #00
STA DR_8
regset MAWR ;ライトアドレスセット
LDA DR_9
STA LOW_VDC
LDA DR_10
STA HI_VDC
regset VWR ;キャラナンバーセット
LDA KI_CHR_R1,X
STA LOW_VDC
LDA #kichr_hi
STA HI_VDC
LDA DR_9 ;セットアドレスインクリメント
SEC
SBC #1
STA DR_9
LDA DR_10
SBC #00
STA DR_10
DEC DR_4
BNE _EK15
_EK20 ;ハンパキャラ
LDA DR_6
BEQ _EK30
TAX
regset MAWR ;ライトアドレスセット
LDA DR_7
STA LOW_VDC
LDA DR_8
STA HI_VDC
regset VWR ;キャラナンバーセット
LDA KI_CHR_R0,X
STA LOW_VDC
LDA #kichr_hi
STA HI_VDC
LDA DR_7 ;セットアドレスインクリメント
SEC
SBC #1
STA DR_7
LDA DR_8
SBC #00
STA DR_8
regset MAWR ;ライトアドレスセット
LDA DR_9
STA LOW_VDC
LDA DR_10
STA HI_VDC
regset VWR ;キャラナンバーセット
LDA KI_CHR_R1,X
STA LOW_VDC
LDA #kichr_hi
STA HI_VDC
LDA DR_9 ;セットアドレスインクリメント
SEC
SBC #1
STA DR_9
LDA DR_10
SBC #00
STA DR_10
_EK30 ;ヌケキャラ
LDA DR_6
BEQ _EK32
LDA #7
BRA _EK33
_EK32
LDA #8
_EK33
SEC
SBC DR_5
STA DR_5
BMI _EK_END
BEQ _EK_END
CLX
_EK35
regset MAWR ;ライトアドレスセット
LDA DR_7
STA LOW_VDC
LDA DR_8
STA HI_VDC
regset VWR ;キャラナンバーセット
LDA KI_CHR_R0,X
STA LOW_VDC
LDA #kichr_hi
STA HI_VDC
LDA DR_7 ;セットアドレスインクリメント
SEC
SBC #1
STA DR_7
LDA DR_8
SBC #00
STA DR_8
regset MAWR ;ライトアドレスセット
LDA DR_9
STA LOW_VDC
LDA DR_10
STA HI_VDC
regset VWR ;キャラナンバーセット
LDA KI_CHR_R1,X
STA LOW_VDC
LDA #kichr_hi
STA HI_VDC
LDA DR_9 ;セットアドレスインクリメント
SEC
SBC #1
STA DR_9
LDA DR_10
SBC #00
STA DR_10
DEC DR_5
BNE _EK35
_EK_END
RTS
;〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
; 0 1 2 3 4 5 6 7 8
KI_CHR_L0 db $B0,$50,$51,$52,$53,$54,$55,$56,$57
KI_CHR_L1 db $B1,$60,$61,$62,$63,$64,$65,$66,$67
KI_CHR_R0 db $B2,$58,$59,$5A,$5B,$5C,$5D,$5E,$5F
KI_CHR_R1 db $B3,$68,$69,$6A,$6B,$6C,$6D,$6E,$6F
;〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
CHWIN_SET_GINT_CHA
int_col $0060,CHWIN_PAL_BG_CHA,seek_bank,$10*7
int_col $0150,CHWIN_PAL_SP,seek_bank,$10*2
; [SATアドレス 設定]
;;;;;;;; int_sat_chg $7F00
; [スプライトテ-ブル アドレス設定]
int_mem_trans MAIN_TBL3,SPR_TBL_ADRS_L,$0003
db $FF
CHWIN_SET_GINT_PIN
int_col $0060,CHWIN_PAL_BG_PIN,seek_bank,$10*7
int_col $0150,CHWIN_PAL_SP,seek_bank,$10*2
; [SATアドレス 設定]
;;;;;;;; int_sat_chg $7F00
; [スプライトテ-ブル アドレス設定]
int_mem_trans MAIN_TBL3,SPR_TBL_ADRS_L,$0003
db $FF
MAIN_TBL3
dw SPR_TBL1 ;スプライトテ-ブル アドレス
db seek_bank-1
;----------------------------------------------------
CHWIN_PAL_BG_CHA:
;#6 ホンタイ
dw $0000,$0000,$0078,$0083,$0042,$0020,$0042,$0001
dw $01FF,$01E7,$0107,$0085,$0145,$00C3,$0041,$003F
;#7 ゴクウ コウドウ
dw $0099,$0078,$0082,$0187,$01E7,$0104,$0041,$00C5
dw $008A,$0082,$0041,$00C5,$008A,$0082,$0042,$01FF
;#8 キ タイプ
dw $0000,$0083,$00C3,$0187,$01EF,$0082,$00C5,$00CB
dw $0082,$00C5,$00CB,$0082,$00C5,$00CB,$0042,$01FF
;#9 テキ コウドウ
dw $0000,$0020,$0000,$0082,$0041,$0041,$0000,$0082
dw $0041,$0041,$0000,$0082,$0041,$0041,$0001,$01FF
;#A キ タイプ
dw $0000,$0042,$0000,$0082,$0041,$0000,$0082,$0041
dw $0000,$0082,$0041,$0000,$0082,$0041,$0001,$01FF
;#B タイムカウンタ
dw $00CA,$0000,$0078,$0083,$0042,$0020,$0001,$01F7
dw $0167,$011F,$00D6,$008D,$003F,$003F,$003F,$003F
;#C チェーンヒット技ネーム (グレースケールバージョンオリジナル)
dw $0112,$0000,$0049,$0049,$0092,$0092,$00DB,$00DB
dw $0124,$0124,$016D,$016D,$01B6,$01B6,$0124,$01FF
CHWIN_PAL_BG_PIN:
;#6 ホンタイ
dw $0000,$0000,$0020,$0042,$0001,$0078,$0083,$0042
dw $01FF,$01E7,$0107,$0085,$0145,$00C3,$0041,$003F
;#7 ゴクウ コウドウ
dw $0099,$0020,$0041,$00C5,$008A,$0082,$0041,$00C5
dw $008A,$0082,$0041,$00C5,$008A,$0082,$0042,$01FF
;#8 キ タイプ
dw $0000,$0001,$0082,$00C5,$00CB,$0082,$00C5,$00CB
dw $0082,$00C5,$00CB,$0082,$00C5,$00CB,$0042,$01FF
;#9 テキ コウドウ
dw $0000,$0078,$0041,$0104,$0104,$0082,$0000,$0082
dw $0041,$0041,$0000,$0082,$0041,$0041,$0001,$01FF
;#A キ タイプ
dw $0000,$0042,$0082,$0104,$0104,$0000,$0082,$0041
dw $0000,$0082,$0041,$0000,$0082,$0041,$0001,$01FF
;#B タイムカウンタ
dw $00CA,$0000,$0020,$0083,$0042,$0078,$0001,$01F8
dw $0178,$00F8,$00B8,$0038,$003F,$003F,$003F,$003F
;#C チェーンヒット技ネーム (グレースケールバージョンオリジナル)
dw $0112,$0000,$0049,$0049,$0092,$0092,$00DB,$00DB
dw $0124,$0124,$016D,$016D,$01B6,$01B6,$0124,$01FF
CHWIN_PAL_SP:
;#5 セレクトフレーム & デ-タ
dw $00C9,$0078,$0060,$00F8,$01B8,$0138,$0078,$0020
dw $00FB,$01CB,$003F,$003F,$007F,$003F,$003F,$01FF
; dw $0000,$0000,$0078,$0044,$0042,$0020,$0042,$0001
; dw $0041,$011C,$00D3,$008A,$00FB,$0010,$01CB,$01FF
;#6 テキ & デ-タ
dw $00C9,$0068,$0050,$00A0,$0130,$00E8,$0078,$0020
dw $00FB,$01CB,$003F,$003F,$007F,$003F,$003F,$0172
; dw $0000,$0000,$0078,$0044,$0042,$0020,$0042,$0001
; dw $0041,$00D3,$008A,$0041,$00FB,$0010,$01DF,$01FF
;〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
G_ACTNUM_COL
;悟空 追
dw $0099,$0078,$0082,$0187,$01E7,$0104,$0041,$00C5
dw $008A,$0082,$0041,$00C5,$008A,$0082,$0042,$01FF
;悟空 静
dw $0099,$0078,$0041,$00C5,$008A,$0082,$0082,$0187
dw $01E7,$0104,$0041,$00C5,$008A,$0082,$0042,$01FF
;悟空 間
dw $0099,$0078,$0041,$00C5,$008A,$0082,$0041,$00C5
dw $008A,$0082,$0082,$0187,$01E7,$0104,$0042,$01FF
G_KITYPE_COL
;悟空 ブロー
dw $0000,$0083,$00C3,$0187,$01EF,$0082,$00C5,$00CB
dw $0082,$00C5,$00CB,$0082,$00C5,$00CB,$0042,$01FF
;悟空 シュート
dw $00D9,$0083,$0082,$00C5,$00CB,$00C3,$0187,$01EF
dw $0082,$00C5,$00CB,$0082,$00C5,$00CB,$0042,$01FF
;悟空 ガード
dw $00D9,$0083,$0082,$00C5,$00CB,$0082,$00C5,$00CB
dw $00C3,$0187,$01EF,$0082,$00C5,$00CB,$0042,$01FF
;悟空 CH
dw $00D9,$0083,$0082,$00C5,$00CB,$0082,$00C5,$00CB
dw $0082,$00C5,$00CB,$00C3,$0187,$01EF,$0042,$01FF
E_ACTNUM_COL
;敵 追
dw $0000,$0078,$0041,$0104,$0104,$0082,$0000,$0082
dw $0041,$0041,$0000,$0082,$0041,$0041,$0001,$01FF
;敵 静
dw $0000,$0078,$0000,$0082,$0041,$0041,$0041,$0104
dw $0104,$0082,$0000,$0082,$0041,$0041,$0001,$01FF
;敵 間
dw $0000,$0078,$0000,$0082,$0041,$0041,$0000,$0082
dw $0041,$0041,$0041,$0104,$0104,$0082,$0001,$01FF
E_KITYPE_COL
;敵 ブロー
dw $0000,$0042,$0082,$0104,$0104,$0000,$0082,$0041
dw $0000,$0082,$0041,$0000,$0082,$0041,$0001,$01FF
;敵 シュート
dw $0000,$0042,$0000,$0082,$0041,$0082,$0104,$0104
dw $0000,$0082,$0041,$0000,$0082,$0041,$0001,$01FF
;敵 ガード
dw $0000,$0042,$0000,$0082,$0041,$0000,$0082,$0041
dw $0082,$0104,$0104,$0000,$0082,$0041,$0001,$01FF
;敵 CH
dw $0000,$0042,$0000,$0082,$0041,$0000,$0082,$0041
dw $0000,$0082,$0041,$0082,$0104,$0104,$0001,$01FF
;〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
TIMER_HED_G
dw TIMER0_G
dw TIMER1_G
dw TIMER2_G
dw TIMER3_G
dw TIMER4_G
dw TIMER5_G
TIMER0_G
dw $00CA,$0000,$0078,$0083,$0042,$0020,$0001,$01F7
dw $0167,$011F,$00D6,$008D,$003F,$003F,$003F,$003F
TIMER1_G
dw $00CA,$0000,$0078,$0083,$0042,$0020,$0001,$0042
dw $01F7,$0167,$011F,$00D6,$003F,$003F,$003F,$003F
TIMER2_G
dw $00CA,$0000,$0078,$0083,$0042,$0020,$0001,$0042
dw $0042,$01F7,$0167,$011F,$003F,$003F,$003F,$003F
TIMER3_G
dw $00CA,$0000,$0078,$0083,$0042,$0020,$0001,$0042
dw $0042,$0042,$01F7,$0167,$003F,$003F,$003F,$003F
TIMER4_G
dw $00CA,$0000,$0078,$0083,$0042,$0020,$0001,$0042
dw $0042,$0042,$0042,$01F7,$003F,$003F,$003F,$003F
TIMER5_G
dw $00CA,$0000,$0078,$0083,$0042,$0020,$0001,$0042
dw $0042,$0042,$0042,$0042,$003F,$003F,$003F,$003F
TIMER_HED_E
dw TIMER0_E
dw TIMER1_E
dw TIMER2_E
dw TIMER3_E
dw TIMER4_E
dw TIMER5_E
TIMER0_E
dw $00CA,$0000,$0020,$0083,$0042,$0078,$0001,$01F8
dw $0178,$00F8,$00B8,$0038,$003F,$003F,$003F,$003F
TIMER1_E
dw $00CA,$0000,$0078,$0083,$0042,$0020,$0001,$0010
dw $01F8,$0178,$00F8,$00B8,$003F,$003F,$003F,$003F
TIMER2_E
dw $00CA,$0000,$0078,$0083,$0042,$0020,$0001,$0010
dw $0010,$01F8,$0178,$00F8,$003F,$003F,$003F,$003F
TIMER3_E
dw $00CA,$0000,$0078,$0083,$0042,$0020,$0001,$0010
dw $0010,$0010,$01F8,$0178,$003F,$003F,$003F,$003F
TIMER4_E
dw $00CA,$0000,$0078,$0083,$0042,$0020,$0001,$0010
dw $0010,$0010,$0010,$01F8,$003F,$003F,$003F,$003F
TIMER5_E
dw $00CA,$0000,$0078,$0083,$0042,$0020,$0001,$0010
dw $0010,$0010,$0010,$0010,$003F,$003F,$003F,$003F
;************************************************
;* CG_NUMGER アドレス テーブル 1 *
;************************************************
SPR_TBL1
_NULL
dw SEL_BOX ;$00
dw KI_MAX_BAR ;$01
dw CH_DATA_MARK ;$02
;************************************************
;* スプライト アニメ タイミング *
;************************************************
TIME_FF
db $FF
;************************************************
;* スプライト テーブル *
;************************************************
DUMMY000 db $00
;----------------------------------------------------
;----------------------------------------------------
;セレクトフレーム
SEL_BOX
db $01 ;PATAN SUU
db $00 ;MODORI
dw TIME_FF ;TIMER
dw SEL_BOX_0 ;0 上段 行動
dw SEL_BOX_1 ;1 中段 気タイプ
dw SEL_BOX_2 ;2 下段 気使用量
SEL_BOX_0 dw SEL_BOX_00
SEL_BOX_1 dw SEL_BOX_10
SEL_BOX_2 dw SEL_BOX_20
SEL_BOX_00
db 3 ;palette $00,$00,$00,$00
spr $00+$30,BANK7,-128,+ 56,RXOFF,RYOFF,CGX2,CGY0,COL5 or SPR
spr $01+$30,BANK7,- 96,+ 56,RXOFF,RYOFF,CGX0,CGY0,COL5 or SPR
spr $00+$30,BANK7,- 80,+ 56, RXON,RYOFF,CGX2,CGY0,COL5 or SPR
SEL_BOX_10
db 3 ;palette $00,$00,$00,$00
spr $00+$30,BANK7,-128,+ 72,RXOFF,RYOFF,CGX2,CGY0,COL5 or SPR
spr $01+$30,BANK7,- 96,+ 72,RXOFF,RYOFF,CGX0,CGY0,COL5 or SPR
spr $00+$30,BANK7,- 80,+ 72, RXON,RYOFF,CGX2,CGY0,COL5 or SPR
SEL_BOX_20
db 3 ;palette $00,$00,$00,$00
spr $00+$30,BANK7,-128,+ 88,RXOFF,RYOFF,CGX2,CGY0,COL5 or SPR
spr $01+$30,BANK7,- 96,+ 88,RXOFF,RYOFF,CGX0,CGY0,COL5 or SPR
spr $00+$30,BANK7,- 80,+ 88, RXON,RYOFF,CGX2,CGY0,COL5 or SPR
;----------------------------------------------------
;気使用量MAXバー
KI_MAX_BAR
db $01 ;PATAN SUU
db $00 ;MODORI
dw TIME_FF ;TIMER
dw KI_MAX_BAR_L0 ;
dw KI_MAX_BAR_R0 ;
KI_MAX_BAR_L0 dw KI_MAX_BAR_L00
KI_MAX_BAR_R0 dw KI_MAX_BAR_R00
KI_MAX_BAR_L00
db 1 ;palette $00,$00,$00,$00
spr $02+$30,BANK7,- 62,+ 88,RXOFF,RYOFF,CGX0,CGY0,COL5 or SPR
KI_MAX_BAR_R00
db 1 ;palette $00,$00,$00,$00
spr $02+$30,BANK7,+ 47,+ 88, RXON,RYOFF,CGX0,CGY0,COL5 or SPR
;----------------------------------------------------
;CH技データ
CH_DATA_MARK
db $01 ;PATAN SUU
db $00 ;MODORI
dw TIME_FF ;TIMER
dw CH_DATA_NULL ;0
dw G_CH_DATA_10 ;1
dw G_CH_DATA_20 ;2
dw G_CH_DATA_30 ;3
dw G_CH_DATA_40 ;4
dw G_CH_DATA_50 ;5
dw G_CH_DATA_60 ;6
dw G_CH_DATA_70 ;7
dw E_CH_DATA_10 ;8
dw E_CH_DATA_20 ;9
dw E_CH_DATA_30 ;A
dw E_CH_DATA_40 ;B
dw E_CH_DATA_50 ;C
dw E_CH_DATA_60 ;D
dw E_CH_DATA_70 ;E
CH_DATA_NULL dw CH_DATA_NULL0
G_CH_DATA_10 dw G_CH_DATA_100
G_CH_DATA_20 dw G_CH_DATA_200
G_CH_DATA_30 dw G_CH_DATA_300
G_CH_DATA_40 dw G_CH_DATA_400
G_CH_DATA_50 dw G_CH_DATA_500
G_CH_DATA_60 dw G_CH_DATA_600
G_CH_DATA_70 dw G_CH_DATA_700
E_CH_DATA_10 dw E_CH_DATA_100
E_CH_DATA_20 dw E_CH_DATA_200
E_CH_DATA_30 dw E_CH_DATA_300
E_CH_DATA_40 dw E_CH_DATA_400
E_CH_DATA_50 dw E_CH_DATA_500
E_CH_DATA_60 dw E_CH_DATA_600
E_CH_DATA_70 dw E_CH_DATA_700
CH_DATA_NULL0
db 0
G_CH_DATA_100
db 1
spr $03+$30,BANK7,+ 32,+ 56,RXOFF,RYOFF,CGX0,CGY0,COL5 or SPR
G_CH_DATA_200
db 1
spr $04+$30,BANK7,+ 32,+ 56,RXOFF,RYOFF,CGX0,CGY0,COL5 or SPR
G_CH_DATA_300
db 1
spr $05+$30,BANK7,+ 32,+ 56,RXOFF,RYOFF,CGX0,CGY0,COL5 or SPR
G_CH_DATA_400
db 1
spr $06+$30,BANK7,+ 32,+ 56,RXOFF,RYOFF,CGX0,CGY0,COL5 or SPR
G_CH_DATA_500
db 1
spr $07+$30,BANK7,+ 32,+ 56,RXOFF,RYOFF,CGX0,CGY0,COL5 or SPR
G_CH_DATA_600
db 1
spr $08+$30,BANK7,+ 32,+ 56,RXOFF,RYOFF,CGX0,CGY0,COL5 or SPR
G_CH_DATA_700
db 1
spr $09+$30,BANK7,+ 32,+ 56,RXOFF,RYOFF,CGX0,CGY0,COL5 or SPR
E_CH_DATA_100
db 1
spr $03+$30,BANK7,- 49,+ 74,RXOFF,RYOFF,CGX0,CGY0,COL6 or SPR
E_CH_DATA_200
db 1
spr $04+$30,BANK7,- 49,+ 74,RXOFF,RYOFF,CGX0,CGY0,COL6 or SPR
E_CH_DATA_300
db 1
spr $05+$30,BANK7,- 49,+ 74,RXOFF,RYOFF,CGX0,CGY0,COL6 or SPR
E_CH_DATA_400
db 1
spr $06+$30,BANK7,- 49,+ 74,RXOFF,RYOFF,CGX0,CGY0,COL6 or SPR
E_CH_DATA_500
db 1
spr $07+$30,BANK7,- 49,+ 74,RXOFF,RYOFF,CGX0,CGY0,COL6 or SPR
E_CH_DATA_600
db 1
spr $08+$30,BANK7,- 49,+ 74,RXOFF,RYOFF,CGX0,CGY0,COL6 or SPR
E_CH_DATA_700
db 1
spr $09+$30,BANK7,- 49,+ 74,RXOFF,RYOFF,CGX0,CGY0,COL6 or SPR
;★★★★★★★★★★★★★★★★★★★★★★★★★★
; INCLUDE FILE
;★★★★★★★★★★★★★★★★★★★★★★★★★★
;;;;;
include WAZA.S
;;;;;
include WAZA_TBL.S
Cleanup > Pages missing date references
Cleanup > Pages missing developer references
Cleanup > Pages missing publisher references
Games > Games by content > Games with uncompiled source code
Games > Games by developer > Games developed by Bandai Namco > Games developed by Bandai Namco Studios > Games developed by B.B. Studios > Games developed by Bec
Games > Games by platform > TurboGrafx-16 games > TurboGrafx-CD games
Games > Games by publisher > Games published by Bandai Namco > Games published by Bandai
Games > Games by release date > Games released in 1994
Games > Games by release date > Games released in November
Games > Games by release date > Games released in November > Games released on November 11
Games > Games by series > Dragon Ball series