16
Mega Drive/Genesis / Elf Wor credits?
« on: August 26, 2011, 01:58:07 PM »
Some of the music is from Magic Girl...
Forum is back up, see post for details: http://bootleg.games/BGC_Forum/index.php?topic=3010.msg21813#msg21813
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Well it turns out all that data is actually code! If I nop the bra.w sub_4234 instruction out with the patch/PAR codes 40A2:4E71 and 40A4:4E71, I get a credits roll with (some type of) fireworks and the characters... just standing there! Given that the characters are there and I haven't seen an ending with fireworks, I'm guessing this indeed is the Elf Wor credits; who knows.
- Code:
ROM:00004096 ; =============== S U B R O U T I N E =======================================
ROM:00004096
ROM:00004096
ROM:00004096 AfterLevelEnd: ; CODE XREF: sub_BA4+60p
ROM:00004096 cmpi.w #$12,($FF1000).l ; at the last level?
ROM:0000409E blt.w nullsub_7 ; no
ROM:000040A2 bra.w sub_4234 ; yes
ROM:000040A2 ; End of function AfterLevelEnd
ROM:000040A2
ROM:000040A2 ; ---------------------------------------------------------------------------
ROM:000040A6 (lots of unused data here)
ROM:00004234
ROM:00004234 ; =============== S U B R O U T I N E =======================================
ROM:00004234
ROM:00004234
ROM:00004234 sub_4234: ; CODE XREF: AfterLevelEnd+Cj
ROM:00004234 lea (TitleScreen).l,a1
ROM:0000423A move.l a1,(sp) ; so the rts below will jump there
ROM:0000423A ; End of function sub_4234
ROM:0000423A
ROM:0000423C
ROM:0000423C ; =============== S U B R O U T I N E =======================================
ROM:0000423C
ROM:0000423C
ROM:0000423C nullsub_7: ; CODE XREF: AfterLevelEnd+8j
ROM:0000423C rts
ROM:0000423C ; End of function nullsub_7