Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2013-07-29 17:45:48

fede7362
New member
Registered: 2013-07-13
Post 3/4

How to edit the casino prizes? (G/S)

I've seen that Swampert has a Casino's Prizes editor, but for Pokemon Blue, Red & Yellow.

Is aroud there some program for editing the Gold/Silver prizes? if not, Where is the prizes data and how edit them?

Thanks and sorry for bad-spelled english

Offline

#2 2013-07-30 00:21:39

Hat
Member
Registered: 2013-02-04
Post 24/118

Re: How to edit the casino prizes? (G/S)

Haven't seen one. Check this: http://hax.iimarck.us/topic/2875/

Offline

#3 2013-08-01 04:53:16

683/700

Re: How to edit the casino prizes? (G/S)

The Game Corner prizes are just a script, as you can see from the map data for the Game Corner.

The text in the menu is just text (albeit part of a menu structure):

MenuData2_0x56cd1: ; 0x56cd1
db $80 ; flags
db 4 ; items
db "TM25 5500@"
db "TM14 5500@"
db "TM38 5500@"
db "CANCEL@"

The actual script is pretty easy to grasp after reading it:

faceplayer
loadfont
2writetext Text_0x56e50 ; “Welcome! We exchange your game coins…”
closetext
checkitem COIN_CASE
iffalse Script_0x56cc3
UnknownScript_0x56d0c: ; 0x56d0c
2writetext Text_0x56e8b ; “Which prize…?”
special $004f
loadmenudata MenuDataHeader_0x56db0
interpretmenu2
writebackup
if_equal $1, AbraScript
if_equal $2, CuboneScript
if_equal $3, WobbuffetScript
2jump UnknownScript_0x56cbd
; 0x56d26

AbraScript: ; 0x56d26
checkcoins 100
if_equal $2, Script_0x56cb1
checkcode $1
if_equal $6, Script_0x56cb7
pokenamemem ABRA, $0
2call Script_0x56ca1
iffalse Script_0x56cbd
waitbutton
playsound $0022
2writetext Text_0x56ebd ; “Here you go!”
closetext
writebyte ABRA
special $0039
givepoke ABRA, 5, 0, 0
takecoins 100
2jump Script_0x56d0c
…

You can edit it the same way you edit any other script: by modifying the disassembly, or using some external script editor or hex editor.

Board footer

Powered by FluxBB