Pseudocode and stuff
This commit is contained in:
parent
7310c4fe96
commit
ee33f94b4b
466 changed files with 27770 additions and 276 deletions
|
|
@ -0,0 +1,40 @@
|
|||
function changer_hatch() /* entry=344 class_id=0x0904 slot=0x07 */
|
||||
{
|
||||
var
|
||||
referent, /* [BP+00h] type=0x69 */
|
||||
roof, /* [BP-02h] type=0x24 */
|
||||
doorQuality, /* [BP-04h] type=0x69 */
|
||||
roofQuality, /* [BP-06h] type=0x69 */
|
||||
eggNum; /* [BP-08h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0210, *(arg_06));
|
||||
process_exclude();
|
||||
doorQuality = Item.pop(arg_06);
|
||||
eggNum = Intrinsic003F(arg_06);
|
||||
if eggNum goto block_016E;
|
||||
|
||||
block_010F:
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x46 */
|
||||
/* loop current_var=0xFE string_bytes=0xE loop_type=0x2 */
|
||||
|
||||
block_0141:
|
||||
if condition goto block_016C;
|
||||
|
||||
block_0144:
|
||||
roofQuality = Item.pop(roof);
|
||||
if (roofQuality != eggNum) goto block_0168;
|
||||
|
||||
block_015D:
|
||||
|
||||
block_0168:
|
||||
/* loopnext */
|
||||
goto block_0141;
|
||||
|
||||
block_016C:
|
||||
|
||||
block_016E:
|
||||
return;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue