Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (IBAction)HpPlusOne:(id)sender {
- int counterNow, CounterLater;
- counterNow=[_EvTotal intValue];
- CounterLater=counterNow+1;
- [_EvTotal setIntValue:CounterLater];
- int hpNow, hpLater;
- hpNow=[_HpTotal intValue];
- hpLater=hpNow+1;
- [_HpTotal setIntValue:hpLater];
- }
- - (IBAction)HpPlusTwo:(id)sender {
- int counterNow, CounterLater;
- counterNow=[_EvTotal intValue];
- CounterLater=counterNow+2;
- [_EvTotal setIntValue:CounterLater];
- int hpNow, hpLater;
- hpNow=[_HpTotal intValue];
- hpLater=hpNow+2;
- [_HpTotal setIntValue:hpLater];
- }
- - (IBAction)HpPlusTen:(id)sender {
- int counterNow, CounterLater;
- counterNow=[_EvTotal intValue];
- CounterLater=counterNow+10;
- [_EvTotal setIntValue:CounterLater];
- int hpNow, hpLater;
- hpNow=[_HpTotal intValue];
- hpLater=hpNow+10;
- [_HpTotal setIntValue:hpLater];
- }
- - (IBAction)HpPlusFifty:(id)sender {
- int counterNow, CounterLater;
- counterNow=[_EvTotal intValue];
- CounterLater=counterNow+50;
- [_EvTotal setIntValue:CounterLater];
- int hpNow, hpLater;
- hpNow=[_HpTotal intValue];
- hpLater=hpNow+50;
- [_HpTotal setIntValue:hpLater];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement