ROM Hack HG/SS Delete Pokégear numbers, help me to convert cheat codes to script/ASM

Butterhands

Well-Known Member
OP
Newcomer
Joined
Jul 22, 2014
Messages
48
Trophies
0
Age
35
XP
333
Country
Italy
I don't know how create a proper function in the Pokégear like in original Gold, Silver and Crystal, but I made a cheat code to erase all the numbers except MUM. My idea is add a child in Goldenrod dept store (Maybe instead of the little girl that unlocked MYSTERY GIFT in original G/S/C) that ask you if you want to delete all minor contacts, if you say yes, the NPC delete all the numbers, then check the flags and re-add the important numbers (obviously re-add always ELM and LYRA/ETHAN checking your gender and if you unlocked the Ex SAFARI WARDEN flag as example, re-add also him) but not the trainers or Bill, that you could re-add safely yourself, I know how add trainers in the phonebook via script, but seems that a function to delete them don't exists.

The cheat codes is this, ACTION REPLAY DS type, for both european and US HG/SS:

US:
US VERSION delete all except MUM
94000130 FFBB0000
62111880 00000000
B2111880 00000000
D5000000 00000000
C0000000 00000001
D8000000 0000C0FC
D4000000 000000FF
D2000000 00000000
D0000000 00000000

EUROPEAN (Italian tested)
94000130 fcff0000
62111880 00000000
b2111880 00000000
d5000000 00000000
c0000000 00000001
d8000000 0000c0fc
d4000000 000000FF
d2000000 00000000
d0000000 00000000

I need of obtain this cheat code effect in my script, then the NPC will re-add the important contacts later.

Someone would help me, please? :)
 
Last edited by Butterhands,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Julie_Pilgrim @ Julie_Pilgrim:
    the internet
  • Julie_Pilgrim @ Julie_Pilgrim:
    @Psionic Roshambo i have 16 gb in my pc and i run into issues with ram more than i'd like to admit
  • HiradeGirl @ HiradeGirl:
    I got only 8GB of RAM. But I want 32GB.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Time to just download more ram
  • K3Nv2 @ K3Nv2:
    Yeah search Google
  • Sonic Angel Knight @ Sonic Angel Knight:
    Or, I also heard that if you use flash memory, it can act as more "RAM" at least windows tell me when I stick a flash drive into it.
  • Veho @ Veho:
    It can act as a swap drive but that isn't more RAM, it's slooow.
  • K3Nv2 @ K3Nv2:
    I wish we could have 1Gbps external storage by now
  • K3Nv2 @ K3Nv2:
    Like for micro
  • Veho @ Veho:
    New Myoo.
  • SylverReZ @ SylverReZ:
    @Veho, Yooo noice
  • SylverReZ @ SylverReZ:
    Looks like a Famicom handheld
  • Veho @ Veho:
    Yeah, they were going for that.
  • Veho @ Veho:
    It's not very good though.
  • Veho @ Veho:
    I'm watching the review, the emulators it uses suck bawls.
  • Veho @ Veho:
    Software update might improve it.
  • Psionic Roshambo @ Psionic Roshambo:
    Or maybe someone will make like Emulation Station for it or something?
  • Veho @ Veho:
    That counts as a software update :tpi:
  • OctoAori20 @ OctoAori20:
    Ello
  • K3Nv2 @ K3Nv2:
    I can think of the design teams process another joystick and no audio or a joystick and mono audio
  • Veho @ Veho:
    "You think we can just put the speakers at the top
    ?" "NO!"
  • K3Nv2 @ K3Nv2:
    Pft stereo speakers you're fired
    K3Nv2 @ K3Nv2: Pft stereo speakers you're fired