title: In cocos2D, how to display different 'spell' button sprites depending on spell selected in 'equip' scene
body: <p>This is my first post, having spent the last few months benefiting from other peoples questions and answers, so first off a general thanks to stackoverflow and all contributors!!</p>
  
  <p>To my question - in my main game scene I want to have spell buttons which, if selected, call a particular method. Simple enough.</p>
  
  <p>My difficulty is that there are different spells available to the user that they select beforehand in the 'equip' scene, and I need the spell buttons to show different sprites depending on which spell is selected beforehand. Thus, if spells 1 &amp; 2 are selected, then the gameplay scene shows sprites for scenes 1 &amp; 2 in the game scene; whereas if spells 3 &amp; 4 are selected, etc, show sprites for spells 3 &amp; 4. </p>
  
  <p>My difficulty so far has been selecting the sprite to include in the menu buttons depending on the selected abilities.</p>
  
  <p>I haven't posted any code yet because I'm relatively confident with the coding itself, it's just trying to work out how to structure the code to work this out.</p>
  
  <p>For information: the equip scene will save variables to a save-file, that the gameplaylayer will then load the variables from the save file to determine which sprites to show.</p>
  
  <p>Thanks in advance to all - and if I'm breaking any rules or etiquette, or not including the right info, please let me know and I'll amend ASAP!</p>
  
  <p>Thanks again!
  Cheeseburger</p>