Thread: FireRed hack: Cubone and the Power Crystal
View Single Post
Old April 5th, 2012 (12:48 PM).
miksy91's Avatar
miksy91 miksy91 is offline
Dark Energy is back in action! ;)
    Join Date: Oct 2008
    Location: A small country in the North
    Gender: Male
    Posts: 1,434
    About VRAM I mean the area the game stores all the graphics of the game (sprite, tiles etc.). Basically, by modifying the bytes in VRAM you can make sprites, tiles and that kind of stuff look different before they're re-loaded again.

    "I'm not 100% sure how to write to the VRAM. I agree it makes it look messy but I'm not sure how to fix it I'm afraid ;__; "

    You actually need assembly to do this (because it's much less effortless than by doing with scripting only). You'd have to make the script call for a loop code. This is basically used to "copy --> paste" data from rom/ram area into another.
    You can for example load the red square somewhere from the rom data and then copy its graphics to VRAM and replace player's sprite that way.

    (And yeah, I forgot that the script I told about in my latest message calls for this kind of assembly code so it's not a pure script although I said it was...)

    But as Swiftsign's suggestion sounds doable (and especially easier than mine unless you get someone to do the assembly script for you), go for it!

    ROM hacking related stuff

    Fixing bugs in a ROM hack

    Check my GameBoy/Color hacking videos in Youtube
    -The video set uses Pokemon Silver (U) rom for demonstrations