Skeetendo

’Cause all games were better on the GBC

You are not logged in.

  • Index
  • → Generation I
  • → Location of BankSwitch function in all languages R/G/B/Y

#1 2013-12-07 23:15:16

Wack0
New member
Registered: 2013-12-07
Post 1/2

Location of BankSwitch function in all languages R/G/B/Y

So I recently coded some stuff for 8F, ws m, and equivilants for all languages of R/G/B/Y, and I needed the location of the bank switching function for each. I found them myself and will now post them here for future reference, if anyone else needs them:

Japanese Red/Green v1.0: $3620
Japanese Red/Green v1.1: $360e
Japanese Blue: $3636
English Red/Blue: $35d6 (this is in the pokered disasm)
Japanese Yellow v1.0: $3e7d
Japanese Yellow v1.1/v1.2: $3e7e
Spanish Red/Blue: $35f5
German Red/Blue: $35f0
French Red/Blue: $35f3
Italian Red/Blue: $35ee
English Yellow: $3e84
Spanish Yellow: $3e89
German Yellow: $3e89
French Yellow: $3e87
Italian Yellow: $3e82

Last edited by Wack0 (2013-12-08 15:30:46)

Offline

#2 2013-12-08 04:50:22

stag019
Idea Killer
Registered: 2011-01-05
Post 549/630

Re: Location of BankSwitch function in all languages R/G/B/Y

Japanese Red/Green have 2 versions and Japanese Yellow has 4 versions. Are they in the same place each time?


You can try to hide yourself in this world of pretend; when the paper's crumpled up, it can't be perfect again.

Offline

#3 2013-12-08 15:25:45

Wack0
New member
Registered: 2013-12-07
Post 2/2

Re: Location of BankSwitch function in all languages R/G/B/Y

stag019 wrote:

Japanese Red/Green have 2 versions and Japanese Yellow has 4 versions. Are they in the same place each time?

Yes.

edit: oh wait, nope. Will update OP to show the different address for R/G 1.1.

And I checked both 1.1 and 1.2 Yellow before, and the function just happens to be in the same place there.. but not in v1.0 where it's 1 byte away!

*facepalm*

Last edited by Wack0 (2013-12-08 15:31:22)

Offline

#4 2013-12-08 20:48:00

Miksy91
Member
Registered: 2010-10-16
Post 1,999/2,339

Re: Location of BankSwitch function in all languages R/G/B/Y

This is a pretty useful document for others hacking gen I.

P.S
By the way 80C - I was actually talking about using this function for transfering the code, you have currently stored in rom bank 0, elsewhere.

Offline

  • Index
  • → Generation I
  • → Location of BankSwitch function in all languages R/G/B/Y

Board footer

Powered by FluxBB