Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -12,22 +12,17 @@ function lazer_slot_20() /* entry=385 class_id=0x0A0F slot=0x20 */
|
|||
return;
|
||||
}
|
||||
else {
|
||||
class_0A1E_slot_23(0x1000, arg_06);
|
||||
ITEM.slot_23(0x1000, arg_06);
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x48 */
|
||||
/* loop current_var=0xFE string_bytes=0x12 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
if (Item.getQLo(arg_06) == Item.getQLo(item)) {
|
||||
class_0A1E_slot_23(0x1000, item);
|
||||
ITEM.slot_23(0x1000, item);
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x3A */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
for monster in nearby_items(family=6, origin=arg_06) {
|
||||
if (monster > 0x0100) {
|
||||
if (!Item.overlaps(monster, arg_06)) {
|
||||
if (monster == getTargetNPCNumMaybe()) {
|
||||
|
|
@ -38,10 +33,10 @@ function lazer_slot_20() /* entry=385 class_id=0x0A0F slot=0x20 */
|
|||
else {
|
||||
dir = (dir - 8);
|
||||
}
|
||||
class_0A11_slot_2B(monster);
|
||||
NPC.slot_2B(monster);
|
||||
}
|
||||
else {
|
||||
spawn class_0A11_slot_2C(pid, *(arg_06), monster);
|
||||
spawn NPC.slot_2C(pid, *(arg_06), monster);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
|
|
@ -53,11 +48,11 @@ function lazer_slot_20() /* entry=385 class_id=0x0A0F slot=0x20 */
|
|||
/* loop current_var=0xFE string_bytes=0x12 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
if (Item.getQLo(arg_06) == Item.getQLo(item)) {
|
||||
class_0A1E_slot_24(0x1000, item);
|
||||
ITEM.slot_24(0x1000, item);
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
class_0A1E_slot_24(0x1000, arg_06);
|
||||
ITEM.slot_24(0x1000, arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue