Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2016-02-17 07:34:08

Wasperine
New member
Registered: 2013-04-28
Post 5/7

Activating mobile flag

I'm looking through the pokecrystal (and pokecrystal-restored) disassembly trying to piece together the workings of Crystal's mobile system. It's known that the mobile features (machines, battle tower, MOBILE menu option) aren't unlocked until the phone is registered for the first time.

From what I understand, this is the event flag responsible:

EVENT_MOBILE_REGISTERED                                EQU $33f

How do I activate this flag? (I'm looking to create a Game Genie or Gameshark code, but I need memory addresses first..)
More importantly, is this flag in the same location in the JP version of Crystal? (since all the functions are intact in that version)

Any information would be a massive help to me.

Offline

#2 2016-02-18 20:52:11

Tauwasser
Member
Registered: 2010-10-16
Post 440/447

Re: Activating mobile flag

Much of the mobile code was taken out of the US and EU releases for Crystal. Japanese Crystal has a routine in mainloop that notices when the phone adapter is connected and does a bunch of stuff. What is left in US Crystal won't work on its own and parts were replaced with the planned Celebi give-away that never happened.

cYa,

Tauwasser

Offline

#3 2016-02-18 21:22:58

Wasperine
New member
Registered: 2013-04-28
Post 6/7

Re: Activating mobile flag

Tauwasser wrote:

Much of the mobile code was taken out of the US and EU releases for Crystal. Japanese Crystal has a routine in mainloop that notices when the phone adapter is connected and does a bunch of stuff. What is left in US Crystal won't work on its own and parts were replaced with the planned Celebi give-away that never happened.

cYa,

Tauwasser

Ah, thanks. That's what I figured. Is there some way to 'fool' JP Crystal into thinking the phone is connected?

Offline

#4 2016-02-19 16:05:28

Tauwasser
Member
Registered: 2010-10-16
Post 441/447

Re: Activating mobile flag

Wasperine wrote:

Ah, thanks. That's what I figured. Is there some way to 'fool' JP Crystal into thinking the phone is connected?

The simple connection flag can be found via debugging, but your main problem is going to be that you don't know the right communication protocol and would have to spend a few days at least debugging to a point where you can easily fool the game into doing your bidding. I did that once for the PCC patch, where I semi-successfully cheated at transferring an item/pokemon, which turned out to be garbage of course.

cYa,

Tauwasser

Offline

Board footer

Powered by FluxBB