Author Topic: MemCpy2E  (Read 3318 times)

Agent 12

  • Zurvan Surfer (+2500)
  • *
  • Posts: 2572
    • View Profile
MemCpy2E
« on: May 31, 2008, 12:24:30 pm »
Hey,

I've never really understood how this command works but I found one of these commands in Crimson Echoes (I didn't code all of it and this is one of the parts I didn't code).  Here's the command:

MemCpy2E(40, 0A, FF, 4A, 00)

Does anyone know what exactly this code does?  It seems like it's messing with items but it's definitely being glitchy.

-JP


Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: MemCpy2E
« Reply #1 on: May 31, 2008, 05:32:55 pm »
I think the command tints part of the screen a color. I don't know what part this one tints off-hand.

Geiger

  • Guru of Life Emeritus
  • Chronopolitan (+300)
  • *
  • Posts: 315
    • View Profile
    • Geiger's Crypt
Re: MemCpy2E
« Reply #2 on: June 02, 2008, 09:20:04 am »
In my working copy, its called Color Math.

Here's the current entry in Event Command Long Notes:

Command 2E - multi-mode memory copy

Mode
40: 2E 4c ii nn se dd . c - colors affected, same as ColorAdd command . ii - starting color index . nn - number of colors affected . s - starting intensity . e - ending intensity . dd - duration of change . Color Addition
50: Color Subtraction, same params as 40
80: 2E 8? ps nnnn . p - palette num . s - starting color . nnnn - bytes to copy, immediately after the command (+2) . does different things based on mode . two byte version of 88