Button-Item Shield
#46
Posted 24 May 2012 - 01:52 PM
This script will be EXTREMELY useful in my GB Quest!
THANK YOU THANK YOU THANK YOU!
#47
Posted 24 May 2012 - 02:58 PM
...
Just kidding xD Enjoy!
If you need help, tell me. :3
#48
Posted 24 May 2012 - 04:23 PM
#49
Posted 24 May 2012 - 04:54 PM
#50
Posted 24 May 2012 - 07:35 PM
if(GetEquipmentB() == DumShield || GetEquipmentB() == DumShieldMag || GetEquipmentB() == DumShieldMir
|| GetEquipmentA() == DumShield || GetEquipmentA() == DumShieldMag || GetEquipmentA() == DumShieldMir)
)
Link->Item[DumShieldInactive] = true;
else
Link->Item[DumShieldInactive] = false;
const int DumShield ------------ Dummy Small Shield
const int DumShieldMag --------- Dummy Magic Shield
const int DumShieldMir ---------- Dummy Mirror Shield
const int DumShieldInactive ---- Dummy item that modifies links sprite while the shield is set to A or B
Unless i screwed something up in copying there it is.
Edited by SUCCESSOR, 24 May 2012 - 08:55 PM.
#51
Posted 24 May 2012 - 09:54 PM
Jared: That one inactive shield item has an LTM that is set to the difference between any held-shield sprite and the corresponding inactive-shield sprite.
Edited by MoscowModder, 24 May 2012 - 09:55 PM.
#52
Posted 24 May 2012 - 11:15 PM
Ok now it should work.
The dummy shield item needs a pickup script (gbshield_pickup) and an action script (gbshield).
D0 is the shield that the dummy shield activates
D1 is the dummy item that modifies link
D2 is the dummy shield(this item/the one you are setting scripts and arguments for)
Edited by SUCCESSOR, 25 May 2012 - 02:51 AM.
#53
Posted 25 May 2012 - 10:17 AM
1. Which of them should be on the screen to be picked up by Link AND on the subscreen to be selected?
2. How to configure the dummy item (tile, D0, script, etc)?
Edited by accela2me, 25 May 2012 - 10:55 AM.
#54
Posted 25 May 2012 - 11:49 AM
The "dummy shield" is the item you give link, that goes on your subscreen. This is the item you set the scripts to.
#55
Posted 08 May 2013 - 12:40 PM
#56
Posted 08 May 2013 - 12:51 PM
#57
Posted 08 May 2013 - 04:32 PM
#58
Posted 09 May 2013 - 01:21 PM
#59
Posted 09 May 2013 - 03:33 PM
#60
Posted 09 May 2013 - 04:41 PM
Page 1: No shield, small shield on back
Page 2: Magic shield on back, mirror shield on back
Page 3: Small shield in hand, magic shield in hand
Page 4: Mirror shield in hand.
For each "dummy" shield, the Link Tile Modifier equals the number of any one Link tile (say, the standing down tile) with the shield on his back, minus the number of the same Link tile with no shield.
For every "real" shield (they're all the same LTM), the Link Tile Modifier equals the number of any Link tile with an active shield minus the same Link tile with a shield on his back.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users