If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

Zig Zag Cat

From The Cutting Room Floor
Jump to navigation Jump to search

Title Screen

Zig Zag Cat:
Dachou Kurabu mo Oosawagi da

Developer: Nippon Bcom
Publisher: Den'Z
Platform: SNES
Released in JP: June 24, 1994


SourceIcon.png This game has uncompiled source code.


So very stubbly.
This page is rather stubbly and could use some expansion.
Are you a bad enough dude to rescue this article?

Leftover Code

Some uncompiled assembly code can be found at offset 0x09FE00 in the ROM. The actual code that this assembles to is located at SNES address C05363 (offset 0x5363 in an unheadered ROM.)

	
	LDA	#ONO_MPLY
	STA	.regw00
	JSR	SP_MSB_CLR
	
	LDA	#ONO_BALL
	STA	.regw00
	JSR	SP_MSB_CLR
	
	LDA	!ROM_CNT		; 歩きパターンNo
	AND	#$0003
	STA	!ROM_PNO
	STA	!JAM_PNO
	
	LDA	!ROM_FLG		; 行動パターン
	ASL	A
	TAX
	JSR	(SROM_TBL,X)
	
	LDA	!JAM_FLG
	ASL	A
	TAX
	JSR	(SJAM_TBL,X)
	
	JSR	DISP_NPC
	JSR	SORT_OAM
	RTS
	
SROM_BACK:				; 後ろ向き
	STZ	.regw0F
	LDA	#$04
	JSR	ST_FLAG
	
	STZ	!ROM_GNO
	LDA	#$0000+ROM_NO
	JSR	SET_ROM_NO
;	STA	O_MPLY+$02
;	STA	O_SPLY+$02
	JSR	SETC_ROM
	RTS