View Single Post
  #8076    
Old March 25th, 2013 (10:13 PM).
destinedjagold's Avatar
destinedjagold
Oh Hai Thar~ 'ω'
Community Supporter
 
Join Date: May 2007
Location: Philippines
Gender: Male
Nature: Careful
Quote originally posted by crystalmole:
This script should be a script that allows you to buy TMs from a NPC. Instead it freezes the game. Does anyone know what i did wrong? And also is there a tool that allows me to change the price of an item's in game worth, such as an ultra ball costing 600?


#dynamic 0x800000

#org @start
lock
faceplayer
msgbox @1 0x6
pokemart @values
release
end

@org @1
= I sell TMs.

#org @values
#raw word 0x14B
#raw word 0x14D
#raw word 0x13C
#raw word 0x13A
#raw word 0x14A
#raw word 0x0

Error in color red.
Also, I've heard that sometimes it glitches if you'll use a number as an address, which is colored blue.
Though I couldn't really be sure of that, since I've not yet encountered such problems.

Anyway, for your second question, I believe thethethethe's item editing tool can do that. Not sure though.
__________________
#495 Snivy
Supporter Collab January 2015