| // To paint the actual tile index, however, we'll use this emit that will be watched by the CTRLNameTable class | // To paint the actual tile index, however, we'll use this emit that will be watched by the CTRLNameTable class | ||||
| // and call this class's setTileIndex() method for tile painting. | // and call this class's setTileIndex() method for tile painting. | ||||
| // YAY to cheating!! | // YAY to cheating!! | ||||
| this.emit("paint_nametable"); | |||||
| this.emit("paint_nametable", x, y); | |||||
| // Then business as usual! | // Then business as usual! | ||||
| var bp = this._GetAttribBlockPalette(x,y); | var bp = this._GetAttribBlockPalette(x,y); |