trunk/src/mame/machine/raiden2cop.c
r32463 | r32464 | |
376 | 376 | int otherlog = 1; |
377 | 377 | |
378 | 378 | // just some per-game debug code so that we have a record of exactly which triggers each game is known to use |
| 379 | |
| 380 | |
379 | 381 | if (!strcmp(machine().system().name, "legionna")) |
380 | 382 | { |
| 383 | // enemies often walk on the spot, bosses often walk above / below playable game area (the >>16 in the sqrt commands seems responsible) |
| 384 | // player doesn't walk off screen after end of level (walks on spot, different cause?) |
381 | 385 | if (triggerval == 0x0205 || triggerval == 0x0905 || |
382 | 386 | triggerval == 0x8100 || triggerval == 0x8900 || /* sin / cos */ |
383 | 387 | triggerval == 0x138e || // atan? |
r32463 | r32464 | |
474 | 478 | |
475 | 479 | |
476 | 480 | } |
| 481 | else if (!strcmp(machine().system().name, "xsedae")) |
| 482 | { |
| 483 | // not really sure what's right / wrong with this one.. |
| 484 | if (triggerval == 0x0205 || triggerval == 0x0904 || |
| 485 | triggerval == 0x8100 || triggerval == 0x8900 || /* sin / cos */ |
| 486 | triggerval == 0x5a85 || |
| 487 | triggerval == 0x5105 || |
| 488 | triggerval == 0x130e || |
| 489 | triggerval == 0x3b30 |
| 490 | ) |
| 491 | otherlog = 0; |
| 492 | } |
| 493 | else if (!strcmp(machine().system().name, "raiden2")) |
| 494 | { |
| 495 | if (triggerval == 0x0205 || triggerval == 0x0905 || |
| 496 | triggerval == 0x8100 || triggerval == 0x8900 || /* sin / cos */ |
| 497 | triggerval == 0x130e || triggerval == 0x138e || |
| 498 | triggerval == 0x2a05 || |
| 499 | triggerval == 0x2208 || triggerval == 0x2288 || |
| 500 | triggerval == 0x338e || |
| 501 | triggerval == 0x39b0 || triggerval == 0x3bb0 || |
| 502 | triggerval == 0x4aa0 || |
| 503 | triggerval == 0x42c2 || |
| 504 | triggerval == 0x5205 || |
| 505 | triggerval == 0x5a05 || |
| 506 | triggerval == 0x6200 || |
| 507 | triggerval == 0xf205 || |
| 508 | triggerval == 0xa100 || triggerval == 0xa900 || triggerval == 0xb100 || triggerval == 0xb900 /* collisions */ |
| 509 | ) |
| 510 | otherlog = 0; |
| 511 | } |
477 | 512 | else |
478 | 513 | { |
479 | 514 | otherlog = 0; |