Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#26 2013-05-16 21:56:44

80C
Banned
Registered: 2013-03-16
Post 555/1,257

Re: Need Help Correctly Repointing to Another Bank

I followed the steps in your last quote putting obviously 48 instead of 2F but it didn't worked (I used BGB debugger since in there adresses are written in bank\adress big endian like in the quote, I rarely edit in that adress form).
Maybe I digited wrong some digits...
I'll try tomorrow or in the weekend now's too late here (GMT +1 from Greenwhich).


I left this forum.

Offline

#27 2013-05-20 19:52:44

80C
Banned
Registered: 2013-03-16
Post 588/1,257

Re: Need Help Correctly Repointing to Another Bank

Danny-E 33 wrote:

Here's all I had to change:

; 1C:611A
dec a        ;
jr c, @6122  ; case 00 continues to unmodified code
call 6715    ; call to free space

; 1C:6715
jr nz, @671A ; go to case 02
jp $6188     ; case 01. after the ret command, returns to unmodified code at 1C:6120
ld a, $2F    ; case 02, copies the palette table
ld bc, $1000 ;
jp $009D     ; after the ret command, returns to unmodified code at 1C:6120

Short, simple, and it works great!
Thank you, Tauwasser, for helping me think to use "dec a" in order to give the register at $CF2D more possible cases and for reminding me of $009D so I never have to switch to bank 2F!

No, it doesn't work.
I even tried repoint to BC000 as you did but there are no palettes at all.

I did everything all right, actually I have 2 theories:

1- BGB Debugger does some errors (nearly impossible);

2- You did other changes beside the ones you said were the only things you had to changes, are you sure you didn't forgot something you did before you applied the new code?


I left this forum.

Offline

#28 2013-05-20 20:25:50

80C
Banned
Registered: 2013-03-16
Post 589/1,257

Re: Need Help Correctly Repointing to Another Bank

Please could you tell me all the steps you did in order to repoint the palette from $73BA0 to $BC000,
because I tried to do what you said in that quote (7 times!) and it didn't worked.
Obviously I moved the whole palette from $73Ba0 to $BC000.

No, it hasn't to do with my ROM because it's nearly the same of the GenII Graphic patch (with lots of modification that regards only maps, pokemon data, data maps, tilesets, types, a couple of new sprites an a few tables that were repointed - like pokemon cries, internal pokemon ID number assignment & Base Stats);

No, it hasn't to do with me, I followed exactly what you said.

so, where's the problem?

PS: Did you controlled if your ROM doesn't loads palettes and everything's black?
Because if it is so, then we may have encountered the same problem.

PPS: I used BGB to insert the new values (I wrote the new Hex in the properly place - of course).


I left this forum.

Offline

#29 2013-05-20 21:23:47

Danny-E 33
Administrator
Registered: 2012-06-09
Post 494/1,026

Re: Need Help Correctly Repointing to Another Bank

Did you remember to change the pointer to the table at 0x72067 from A0 7B to 00 40?


Red Hack: Pokémon Prototype

Total number of registered users: 7000+
Total number of active users: ~12

Offline

#30 2013-05-21 13:23:47

80C
Banned
Registered: 2013-03-16
Post 590/1,257

Re: Need Help Correctly Repointing to Another Bank

Yay, thanks mate!

I didn't understood that part (I don't know disassembly...) now the ROM works!


I left this forum.

Offline

Board footer

Powered by FluxBB