comparison Character_state.c @ 70:cee55c8365e9 default tip

fix
author Kazuma
date Thu, 19 May 2016 18:52:26 +0900
parents 2c85322348cf
children
comparison
equal deleted inserted replaced
69:1c57e38fb9b5 70:cee55c8365e9
448 p->y = rand % (120 - 35); 448 p->y = rand % (120 - 35);
449 p->vx = (rand % 4 + 1); 449 p->vx = (rand % 4 + 1);
450 p->vy = rand % 3 + 1; 450 p->vy = rand % 3 + 1;
451 p->state = chara_state23; 451 p->state = chara_state23;
452 } 452 }
453 if((sf == 2)) 453 if(sf == 2)
454 { 454 {
455 p->x = rand % 290; 455 p->x = rand % 290;
456 p->y = -30; 456 p->y = -30;
457 p->vx = rand % 3 - 1; 457 p->vx = rand % 3 - 1;
458 p->vy = (rand % 4 + 1); 458 p->vy = (rand % 4 + 1);
916 } 916 }
917 917
918 918
919 CHARACTER * chara_state41(CHARACTER *p) //left arm up arm vulkan 919 CHARACTER * chara_state41(CHARACTER *p) //left arm up arm vulkan
920 { 920 {
921 int rand;
922 921
923 if (enemy_part2->f == FALSE) 922 if (enemy_part2->f == FALSE)
924 { 923 {
925 Bom(p->x, p->y); 924 Bom(p->x, p->y);
926 p->f = FALSE; 925 p->f = FALSE;
945 } 944 }
946 if (rinkf1 == 9) 945 if (rinkf1 == 9)
947 { 946 {
948 if (p->dt1 % 15 == 1) 947 if (p->dt1 % 15 == 1)
949 { 948 {
950 Puttama(9 + rand % 2, p->x, p->y); 949 Puttama(9 + rand() % 2, p->x, p->y);
951 } 950 }
952 } 951 }
953 if (rinkf1 == 10) 952 if (rinkf1 == 10)
954 { 953 {
955 if (p->dt2 != 0) 954 if (p->dt2 != 0)