Jump to content

Photo

If Sword 2 (White) is Link's B Button weapon something happens?


  • Please log in to reply
1 reply to this topic

#1 LikeLike888

LikeLike888

    Spicy food lover!!

  • Members
  • Real Name:Jason
  • Location:North America

Posted 26 October 2018 - 11:04 AM

Would for example
while(true)
{
  if (Link->GetEquipmentB() == Item[6])
  {
    if (Link->PressB)
    {
      Link->X += 13;
    }
  }
}
work properly or how would I fix up above coding for it to work properly?

#2 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 30 October 2018 - 03:43 AM

Would for example

while(true)
{
  if (Link->GetEquipmentB() == Item[6])
  {
    if (Link->PressB)
    {
      Link->X += 13;
    }
  }
}
work properly or how would I fix up above coding for it to work properly?

 

 

 

while(true)
{
  if (GetEquipmentB() == Item[6])
  {
    if (Link->PressB)
    {
      Link->X += 13;
    }
  }
}



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users