Nothing happens, when the player isn't above the stairs, the table in ram is restored.
the stairs diagonal speech is similar but with a small difference:
the player can't go up to the stairs, when the player go to left or right the stairs, do a diagonal movement of 2 blocks!
083756A4, this table is consists of 9 "entries", one for each movement. Each part is composed of a 32bit word. 9 movement??? yes: right, left, up, down, firm and 4 for diagonal movement!
the routine, through the coordinates of the player, is able to identify the behavior of the block to the right or left of the player.
if it has particular behavior, change the bytes movement (right word or left word). after repoint table in RAM, you can write bytes!
Looks like there's a table of boxes and pals which are used for the FIGHT menu. The table is located at 08471E8C.
The routine which determines which box to show during battle is at 0814FFC4. In the same routine, down at 0814FFEE there's a table switch which happens depending on the value in R4. It's used to select a specific text box style.
To answer your question, 0847190C is where the palette for this Fight menu should be.