Invetory and talking to characters

i have made this tile based game following the tonypa tutorials. i am trying to add an invetory to the right hand side (you can see the boxes where i want the items to appear). the item4 prototype is a sample invetory item that i have made. can someone help me figure out what way i should create this invetory?
my other question is how to have text appear when you hit a certain tile, and go away when you leave it. i have a text variable at the top of the code and a text feild at the bottom.
thanks for any help, hope this makes sense.